Deployment

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

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
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
1590 questions (total)