Search⌘ K
AI Features

Testing and Deployment I

Explore how to apply AWS CDK best practices for reusable infrastructure and configure CodePipeline to include manual approval steps. Understand how to manage permissions to ensure secure release approvals, handle build failures correctly, and support multi-environment deployments in serverless applications.

Question 40

A development team is planning to use AWS CDK to build and deploy infrastructure for a multi-service microservices application. The team wants to ensure maximum reusability and enforce best practices related to security, scalability, and maintainability in all environments.

What combination of CDK features should they use to meet these requirements?

A. Define reusable custom L2/L3 constructs and leverage stacks with context variables for environment-specific configuration.

B. Use L1 constructs only, as they provide fine-grained control over each resource.

C. Combine CDK with SAM templates to enforce validation logic.

D. Deploy each stack using different programming languages for polyglot ... ...