← All quizzes

Night 16

Lab 2D part 1 — Aurora Serverless v2 study stack

Aurora Serverless v2 in private subnets, DB subnet groups, security group database access, RDS Data API schema init, writer vs reader endpoints, teardown cost

0:00 / ~24m0/15 answered

15 timed scenario questions (~24 min, ~96 sec each). Reinforces night-16-aurora-lab.md and night-16-lab-aurora-setup scripts. Answer without peeking at night-16-quiz-answers.json first.

  1. 1.night-16-lab-aurora-setup places Aurora in Night 9 private subnets. A stats Lambda in the same VPC must connect on port 5432. Both use security groups. What ingress rule belongs on the Aurora security group?

  2. 2.The lab creates saa-study-gsa-aurora-subnets spanning private-a and private-b. Why must the DB subnet group include subnets in at least two Availability Zones?

  3. 3.You deploy Aurora Serverless v2 with MinCapacity=0.5 and MaxCapacity=1 ACU for the study cluster. Overnight the database has no connections. What happens to billing?

  4. 4.night-16-lab enables --enable-http-endpoint on the cluster so -InitSchema runs from your laptop without psql in the VPC. Which service executes the CREATE TABLE statements?

  5. 5.The setup script sets --no-publicly-accessible on saa-study-gsa-aurora-instance. A developer tries to connect with psql from a home laptop using the writer endpoint. What is the expected result?

  6. 6.Night 17 Lambda will INSERT into resort_stats. Which Aurora endpoint should the stats uploader use for writes?

  7. 7.Master credentials for saa-study-gsa-aurora use --manage-master-user-password. Where does the setup script read the secret ARN for RDS Data API calls?

  8. 8.A teammate proposes placing Aurora in the Night 9 public subnets (public-a/public-b) to avoid NAT costs for patching. What is the best response for a production-style GSA stats database?

  9. 9.After night-16-lab-aurora-setup.ps1, describe-db-instances shows DBInstanceClass db.serverless. Where is the MinCapacity=0.5 / MaxCapacity=1 scaling configuration stored?

  10. 10.You run night-16-lab-aurora-teardown.ps1 after the lab. Which resources does it intentionally leave running?

  11. 11.GSA stores wiki page-view counts in DynamoDB and monthly resort aggregates in Aurora resort_stats. A report needs SELECT with JOIN across resort rows. Which store fits?

  12. 12.The Iceland batch completion path uses Night 13 SQS. Night 16 adds Aurora. Where does resort_stats fit in the pipeline relative to SQS?

  13. 13.A junior engineer adds 0.0.0.0/0 on TCP 5432 to saa-study-gsa-aurora-sg so they can psql from home. What is the exam-aligned fix?

  14. 14.night-16-lab creates saa-study-gsa-lambda-stats-sg with no inbound rules. Night 17 Lambda will attach to this SG in private subnets. Why is empty inbound acceptable?

  15. 15.You need a read-only BI dashboard querying resort_stats without adding write load to the primary. Aurora has one writer and no extra reader instances yet. What is the practical first step?

Answer all 15 questions to submit.