SkillSprout
Chapter 9

Infrastructure as Code, Resource Sharing and Event-Driven Automation

Cover the remaining Domain 3 skills: AWS CDK and third-party IaC (Terraform, Git), multi-account and multi-Region provisioning with StackSets, RAM and IPAM, deployment strategies and failure remediation, and event-driven automation with SNS, SQS, SES, Step Functions, Lambda, S3 events, Firehose and Athena.

1AWS CDK, Terraform and Git-Based Deployment Workflows
Intermediate
7 min
2Multi-Account Provisioning: StackSets, RAM and IPAM
Advanced
6 min
3Deployment Strategies and Remediating Deployment Failures
Advanced
7 min
4Event-Driven Automation: SNS, SQS, SES, Step Functions, Lambda and S3 Events
Intermediate
7 min

Chapter quiz

Infrastructure as Code, Resource Sharing and Event-Driven Automation · 10 questions

  1. 1.A team writes infrastructure in TypeScript with the AWS CDK. The first cdk deploy in a new account fails with a message that the toolkit stack must be deployed. What should the operator do?

  2. 2.Multiple engineers run terraform apply against the same environment and occasionally corrupt state. Which change BEST addresses this on AWS?

  3. 3.A company must deploy a baseline Config recorder role to all current and future accounts in three Regions with minimal manual work. Which solution fits?

  4. 4.Several accounts must use the same Transit Gateway owned by a networking account, without duplicating it. Which service enables this?

  5. 5.Two teams unknowingly created VPCs with the same 10.0.0.0/16 range, and peering fails. Which service would have prevented this?

  6. 6.A production release must expose only 10% of users to the new version initially, roll back automatically if error alarms fire, and keep the old version available. Which strategy is BEST?

  7. 7.An ECS service using awsvpc networking fails new tasks with a network interface error, and the private subnets show zero available IP addresses. What is the BEST long-term fix?

  8. 8.A CloudFormation stack update fails and then shows UPDATE_ROLLBACK_FAILED because a resource was deleted manually. What should the operator do?

  9. 9.Messages in an SQS queue are being processed repeatedly by a consumer that takes about 90 seconds per message. The queue uses default settings. What is the MOST likely cause?

  10. 10.A SaaS application must send transactional email to customers through Amazon SES but only a few verified test addresses receive mail. What should the operator do?

0 of 10 answered