
Answer-first summary for fast verification
Answer: Design the CDK application to read AWS CloudFormation parameters for the values that vary across environments and Regions. Reference these variables in the CDK stack for resources that require the variables., Create a dedicated account for shared application services in the multi-account environment. Deploy a CDK pipeline to the dedicated account. Create stages in the pipeline that deploy the CDK application across different environments and Regions.
To meet the requirement with the least manual effort between environment deployments, the infrastructure engineers should focus on solutions that automate and standardize the deployment process across multiple environments, Regions, and accounts. Option A suggests using AWS CloudFormation parameters to manage variables across environments and Regions, which allows for a high degree of reusability and consistency. This approach minimizes manual effort by leveraging AWS's native capabilities for parameter management. Option C proposes creating a dedicated account for shared application services and deploying a CDK pipeline to this account. This approach automates the deployment process across different environments and Regions, ensuring consistency and reducing manual intervention. By using a CDK pipeline, the team can automate the deployment process, making it more efficient and less prone to errors. Options B, D, and E either require more manual effort or do not fully leverage AWS's capabilities for automation and consistency across deployments.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Which two steps should the infrastructure engineers take to design the ALB components in the AWS CDK application to leverage existing core network components (VPCs and Amazon Route 53 private hosted zones) across multiple environments, Regions, and accounts, ensuring reusability, consistency, and minimal manual effort during environment deployments?
A
Design the CDK application to read AWS CloudFormation parameters for the values that vary across environments and Regions. Reference these variables in the CDK stack for resources that require the variables.
B
Design the CDK application to read environment variables that contain account and Region details at runtime. Use these variables as properties of the CDK stack. Use context methods in the CDK stack to retrieve variable values.
C
Create a dedicated account for shared application services in the multi-account environment. Deploy a CDK pipeline to the dedicated account. Create stages in the pipeline that deploy the CDK application across different environments and Regions.
D
Write a script that automates the deployment of the CDK application across multiple environments and Regions. Distribute the script to engineers who are working on the project.
E
Use the CDK toolkit locally to deploy stacks to each environment and Region. Use the --context flag to pass in variables that the CDK application can reference at runtime.