EventBridge schedule rules, ECS RunTask target, IAM trust for events.amazonaws.com, CloudWatch FailedInvocations
0:00 / ~24m0/15 answered
15 timed scenario questions (~24 min, ~96 sec each). Reinforces night-12-eventbridge-schedule.md and night-12-lab-eventbridge-schedule.sh. Answer without peeking at night-12-quiz-answers.json first.
1.A monthly one-shot Fargate batch job runs in private subnets with no HTTP endpoint. Manual ecs:RunTask already works. What is the best way to trigger it on the 1st of each month without an always-on EC2 instance?
2.You create an EventBridge rule targeting ecs:RunTask. The rule shows FailedInvocations in CloudWatch. The task definition and cluster names are correct. What is the most common IAM fix?
3.An EventBridge ECS target sets AssignPublicIp to DISABLED and passes private subnet IDs. Why must the scheduled target include the same networkConfiguration as a manual RunTask?
4.Which schedule expression runs a batch pipeline at 06:00 UTC on the first day of every month?
5.CI already has ecs:RunTask and iam:PassRole for a Fargate task. After adding EventBridge, why can the rule not reuse the CI IAM user credentials?
6.An exam question describes decoupling microservices so a spike in orders does not overwhelm the inventory API. The inventory team wants to process at their own pace with at-least-once delivery. Which service fits better than an EventBridge schedule rule?
7.A CloudWatch alarm watches FailedInvocations on an EventBridge rule and fires. The Invocations metric is zero. What most likely happened?
8.What is the trust policy principal for the IAM role used by an EventBridge rule that calls ecs:RunTask?
9.You need a one-time reminder to run a migration at 2026-07-01 03:00 UTC with flexible delivery within a 15-minute window and automatic retries. Which option is most purpose-built?
10.A batch ETL pipeline is not a long-running web service. Which statement about load balancers is correct for scheduled ECS RunTask?
11.An EventBridge target role scopes ecs:RunTask with a Condition on ecs:cluster. Why scope RunTask to one cluster ARN?
12.A rule on the default event bus matches {"source":["aws.ecs"],"detail-type":["ECS Task State Change"]}. What type of rule is this compared to a monthly cron pipeline rule?
13.For a quick validation you temporarily set an EventBridge rule to rate(1 minute), then restore cron(0 6 1 * ? *) after success. What cost should you expect compared to leaving rate(1 minute) enabled?
14.Which iam:PassRole condition key should appear when EventBridge passes an ECS execution role to ECS?
15.You later add SQS so the pipeline publishes a completion message instead of chaining synchronously. How does that differ from EventBridge schedule → RunTask?