Search⌘ K
AI Features

Testing and Deployment III

Discover how to solve practical AWS Certified Developer Associate exam questions related to testing and deployment. Learn to enforce EBS encryption in CloudFormation, choose storage solutions for scalable apps, manage Lambda dependencies, implement safe API deployment strategies, and configure API Gateway environments efficiently.

Question 50

A developer needs to ensure that all Amazon EC2 instances provisioned during automated deployments use encrypted Amazon EBS volumes for data storage in accordance with company security policies. The deployment process launches new environments using AWS CloudFormation templates.

Which approach should the developer take to enforce EBS encryption as part of the deployment process?

A. Add the Encrypted: true property to all EBS volume resources in the CloudFormation template.

B. Use AWS KMS to create a customer-managed key, but do not specify encryption in the CloudFormation template.

C. Developer runs a custom script on each EC2 instance after launch to encrypt volumes.

D. Use instance store volumes and ...