Deployment

Prepare artifacts, test applications, automate testing, and deploy using CI/CD services (~24% of exam).

Covers preparing application artifacts including dependency management, directory structure organization, code repositories, resource requirements, and environment-specific configurations with AWS AppConfig. Also covers testing applications in development environments including deployed code testing, integration tests with mock APIs, development endpoints and API Gateway stages, stack updates to staging environments, and event-driven application testing. Additionally covers automating deployment testing including test events, API resource deployment, version management with Lambda aliases and container tags, IaC templates (SAM, CloudFormation), environment management, and Amazon Q Developer for automated tests. Finally covers CI/CD deployment including Lambda packaging, API Gateway stages and custom domains, IaC template updates, deployment strategies (blue/green, canary, rolling), version control, orchestrated workflows, and application rollbacks.
5 minutes 5 Questions

Deployment in AWS refers to the process of releasing and managing application code and infrastructure in the AWS cloud environment. For the AWS Certified Developer - Associate exam, understanding deployment strategies and services is crucial. **AWS Elastic Beanstalk** is a Platform-as-a-Service (P…

Concepts covered: Managing code dependencies, Environment variables in deployments, Lambda aliases, Configuration files management, Container image management, Infrastructure as Code (IaC), Amazon ECR (Elastic Container Registry), Application directory structure, Lambda deployment packaging, Code repositories for deployment, AWS CodeCommit, Resource requirements specification, Memory and CPU allocation, AWS AppConfig, Environment-specific configurations, Feature flags with AppConfig, Testing deployed code on AWS, Writing integration tests, Mocking external dependencies, Mock APIs for testing, API Gateway stages, Development endpoints, AWS SAM template deployment, Deploying to staging environments, Testing event-driven applications, Lambda test events, Creating application test events, JSON payloads for Lambda testing, API Gateway test payloads, Deploying API resources to environments, Container image tags for versioning, AWS Amplify branches, AWS Copilot environments, AWS SAM templates, AWS CloudFormation templates, Managing environments in AWS services, Amazon Q Developer for automated tests, Lambda deployment packages (ZIP), Lambda container images, API Gateway custom domains, API Gateway stage variables, Updating IaC templates, AWS CodePipeline, AWS CodeBuild, AWS CodeDeploy, Blue/green deployment strategy, Canary deployment strategy, Rolling deployment strategy, Linear deployment strategy, Git-based deployment triggers, Orchestrated deployment workflows, Application rollbacks, Version control with labels and branches, Runtime configuration for deployments, Staging variables in Lambda functions

Test mode:
DVA-C02 - Deployment Example Questions

Test your knowledge of Deployment

Question 1

A software development team at a logistics company is building a package tracking application using AWS Lambda and Amazon DynamoDB. They have implemented AWS AppConfig feature flags to manage a new real-time notification system. The team configured three feature flag variants: 'sms_only', 'email_only', and 'multi_channel'. They want 'multi_channel' to be assigned to enterprise customers who have 'accountType' set to 'enterprise' in their context, while other customers should receive variants based on a 50/50 percentage split between 'sms_only' and 'email_only'. After deploying the configuration, the team notices that enterprise customers are correctly receiving the 'multi_channel' variant, but non-enterprise customers are all receiving the 'sms_only' variant instead of the expected 50/50 distribution. The team confirms the configuration syntax is valid and deployment was successful. What should the team examine to identify why the percentage-based allocation is failing for non-enterprise customers?

Question 2

A development team at a pharmaceutical company uses AWS Copilot to deploy their clinical trial management system. The team has environments named 'dev', 'test', and 'prod'. A new architect, Marcus, notices that deployments to the 'test' environment are taking significantly longer than expected. Upon investigation, he discovers that the 'test' environment is configured to use a NAT Gateway in a single Availability Zone, causing network bottlenecks during container image pulls from Amazon ECR. The infrastructure team has already provisioned a highly available networking setup with NAT Gateways in multiple Availability Zones in an existing VPC. Marcus needs to reconfigure the 'test' environment to leverage this existing VPC infrastructure to improve deployment performance and network resilience. The environment currently has two services deployed that must continue operating after the change. What is the most appropriate strategy for Marcus to address this networking configuration challenge using AWS Copilot?

Question 3

A data analytics firm has deployed an AWS Glue development endpoint with 4 G.2X workers to develop ETL scripts for processing customer behavior data. The endpoint is attached to a Zeppelin notebook and resides within a VPC with a NAT Gateway. The development team successfully runs PySpark code that reads from S3 and writes transformed data back to S3. However, when attempting to write output data to an Amazon Redshift cluster located in the same VPC, the write operation fails with a connection refused error after 30 seconds. The Redshift cluster security group allows inbound traffic on port 5439 from the VPC CIDR range. The IAM role attached to the development endpoint has AmazonRedshiftDataFullAccess and AWSGlueServiceRole policies. The team verified that the Redshift cluster is operational and accessible from EC2 instances in the same subnet. What should the team investigate to resolve the Redshift connectivity issue from the development endpoint?

More Deployment questions
1647 questions (total)