AniCricKet / musical-guacamole

Blog used for AP Computer Science A journey
https://anicricket.github.io/musical-guacamole/
MIT License
0 stars 0 forks source link

CSA Deployment Pop Quiz #9

Open AniCricKet opened 5 months ago

AniCricKet commented 5 months ago

Top 4 Scores:

Question Score
Q1 0.9
Q2 0.9
Q3 0.9
Q5 0.9
Total 3.6/4

Q1: Reverse proxy - describe the server name and proxy pass definition in the reverse proxy file

Score: 0.9/1

Server name is the domain that is being handled Proxy pass is the backend server where incoming requests are forwarded.

Screenshot 2024-01-30 at 11 41 42 AM

Q2: Show a JWT Login Process - Split screen, show the cookie and then put it into jwt.io

Score: 0.9/1

Screenshot 2024-01-30 at 11 35 26 AM Screenshot 2024-01-30 at 11 33 27 AM

Q3: Show the security config rules required for access in spring boot, show request matchers for all and for when the authentication is required

Score: 0.9/1

Screenshot 2024-01-30 at 11 47 18 AM

Q4: Explain a POJO, show changes to POJO in vscode, and show output of a POJO in postman

Score: 0.8/1

A POJO, or a 'plain old java object', is Java class that adheres to a set of conventions to keep its structure simple, rather than extending or implementing specialized classes or interfaces.

A POJO change comes in the form of adding, removing, or changing fields, as well as updating methods to reflect the new structure or behavior.

image Screenshot 2024-01-30 at 12 19 56 PM

Q5: Show the steps needed to update a docker application

Score: 0.9/1

sudo docker-compose down
git pull
./mvnw clean
sudo docker-compose up -d
docker ps