Deployment, Provisioning and Automation
Provision and operate infrastructure repeatably. Use CloudFormation (change sets, drift, StackSets), the Systems Manager toolbox, Automation runbooks and Parameter Store, and build golden images with AMIs, EC2 Image Builder and Service Catalog.
Chapter quiz
Deployment, Provisioning and Automation · 10 questions
1.Before updating a production CloudFormation stack, an engineer wants to know whether any resources will be replaced. What should they use?
2.Operations wants to open shell sessions to private EC2 instances without bastion hosts, SSH keys or inbound security group rules, and keep an audit trail. What should they use?
3.Which approach installs critical security patches on a group of instances every Sunday night, staggered by environment, with compliance reporting?
4.A CloudFormation stack that creates an EC2 instance stays in CREATE_IN_PROGRESS and eventually fails with a timeout, although the instance is running. What is the most likely cause?
5.A team needs to share an encrypted AMI with a partner account. The AMI is currently encrypted with the AWS managed aws/ebs key. What is required?
6.A CloudFormation stack update is stuck in UPDATE_ROLLBACK_FAILED because a resource was manually deleted. What is the best next step?
7.Managed instances in private subnets with no internet access do not appear in Systems Manager. The instance profile is correct. What is missing?
8.Patches must be applied to production servers only on Saturdays between 01:00 and 04:00, with at most 10 percent of instances at a time. Which design fits?
9.The security team wants developers to launch only approved CloudFormation stacks without holding permissions for the underlying services. Which service enables this?
10.A golden AMI must be rebuilt every week with the latest OS patches, tested and copied to three Regions with no custom servers to manage. What should be used?
0 of 10 answered

