← All quizzes

Night 14

Lab 2C part 2 — SNS fan-out

SNS pub/sub, fan-out, SNS→SQS, EventBridge→SNS, CloudWatch alarm actions, email subscription confirmation, FIFO topics

0:00 / ~24m0/15 answered

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

  1. 1.Iceland batch exits 1 after an S3 permission error. Night 13 SQS completion queue only receives exit code 0 events. Ops wants email and a ticketing SQS queue notified from the same failure event without each channel polling a shared work queue. What service fits?

  2. 2.night-14-lab-sns-setup subscribes saa-study-gsa-iceland-alerts-inbox to the alerts topic. Messages never arrive in the inbox after sns:Publish succeeds. Subscription shows Confirmed. What is the most likely missing piece?

  3. 3.You subscribe an email endpoint to an SNS topic for Iceland failure alerts. aws sns list-subscriptions-by-topic shows SubscriptionArn PendingConfirmation. What must happen before email delivery?

  4. 4.Night 12 CloudWatch alarm saa-study-gsa-iceland-task-failed watches FailedInvocations on the schedule rule. Night 14 adds the same SNS topic as an alarm action. What does this alarm detect?

  5. 5.An exam scenario needs three internal teams each with its own durable queue receiving every order-placed event from a single checkout service. Producers should not know team queue URLs. Best pattern?

  6. 6.night-14-lab-sns-setup creates EventBridge rule saa-study-gsa-iceland-failure-to-sns targeting SNS. FailedInvocations metric increments on that rule. Topic policy and rule pattern look correct. What is the usual fix?

  7. 7.A mobile app needs push notifications to millions of devices with platform-specific payloads (APNS, FCM). The backend publishes one logical event per user action. Which SNS capability is most relevant?

  8. 8.You need strict ordering and deduplication of trade-execution alerts delivered to multiple FIFO SQS queues. Which SNS topic type should you create?

  9. 9.Night 13 completion consumer and Night 14 SNS inbox both need Iceland pipeline signals. Success should buffer for a slow stats worker; failures should push to ops immediately. How should you split services?

  10. 10.An SNS subscription uses a filter policy so only messages with attribute severity=critical reach a PagerDuty HTTPS endpoint. Non-critical publishes still succeed. What happens to filtered-out messages for that subscription?

  11. 11.Raw message delivery is enabled on an SNS→SQS subscription. What does the SQS message body contain compared to the default SNS wrapping?

  12. 12.A Lambda function is subscribed directly to an SNS topic (not via SQS). The function times out on some invocations. What is SNS default behavior?

  13. 13.Compared to Night 13 SQS completion queue, why is SNS the wrong choice for the stats-uploader worker pool that processes one message at a time with back-pressure?

  14. 14.Cross-account Account B must publish to Account A SNS topic saa-study-gsa-iceland-alerts. What two controls are typically required?

  15. 15.After Night 14 teardown, you want Iceland success events on SQS and failure alerts on SNS again. Minimum lab scripts to re-deploy both paths?

Answer all 15 questions to submit.