Download AWS DVA-C02 Certified Developer - Associate Certification Exam 2026 Guide and more Exams Computer Programming in PDF only on Docsity!
AWS DVA-C02 Certified Developer - Associate
Certification Exam 2026 Guide
- A developer builds an application that uses the AWS SDK for Python (Boto3) to query an Amazon Dy- namoDB table. When the application is tested on an Amazon EC2 instance, the application returns this er- ror message:
"An error occurred (AccessDenied) when calling the operation"
The EC2 instance is associated with an existing IAM role named myRole
Which set of actions would resolve this error? (AWS)
- A company notices performance degradation in one of its production web applications. The application is running on AWS services and uses a microservices architecture. The company suspects that one of these microservices is causing the performance issue.
Which AWS solution should the company use to identi- fy the service that is contributing to higher application latency? (AWS)
- A developer migrates a web application from an on-premises data center to the AWS Cloud. Authenti-
Create a new IAM policy with the necessary Ama- zon DynamoDB permis- sions. Attach this IAM role as an additional role on the EC2 instance.
AWS X=Ray service map
Store session state infor- mation in an Amazon Elas- cated customers use the application from many differ- tiCache for Redis cluster. ent clients simultaneously, including laptops, smart- phones, and tablets. The application runs on Amazon EC2 instances behind an Application Load Balancer. The instances run in an Amazon EC2 Auto Scaling group. Upon initial testing, users report that when switching devices, activity from their previous ses-
AWS DVA-C02 Certified Developer - Associate
Certification Exam 2026 Guide
sions is not saved.
Which solution will make the session state informa- tion persist across devices? (AWS)
- A company is working on a project to enhance its Create a new Lambda ver- serverless application development process. The com- sion every time a new code pany hosts applications on AWS Lambda. The devel- opment team regularly updates the Lambda code and wants to use stable code in production.
Which combination of steps should the development team take to configure Lambda functions to meet
release needs testing
And
Create two Lambda func- tion aliases. Name one as both development and production requirements? (Se- production and the oth- lect TWO.) (AWS)
- A developer builds an inventory application that runs on employee tablets. The tablet application serves as an activity worker for an AWS Step Functions state machine. The application must retrieve a scheduled task, periodically report on task progress, and report task completion or task failure.
Which Step Functions API actions does the tablet ap- plication need to make? (AWS)
er as Development. Point the Production alias to a production-ready qual- ified Amazon Resource Name (ARN) version. Point the Development alias to the $LATEST version.
CreateActivity, GetActivi- tyTaask, SendTaskHeart- Beat, SendTaskFailure, SentTaskSuccess
AWS DVA-C02 Certified Developer - Associate
Certification Exam 2026 Guide
- Which Amazon S3 storage class offers the same high durability as S3 Standard but stores data in a single availability zone to reduce costs? (Whizlabs)
S3 One zone-IA
- Which Amazon S3 storage class offers automatic data S3 Intelligent- Tiering archiving based on long-term access patterns while optimizing costs? (Whizlabs)
- Which Amazon S3 storage class provides the lowest storage cost among all the classes, primarily intended for data archiving?
S3 Glacier
- Which Amazon S3 Glacier storage class is designed for Glacier Standard data that is infrequently accessed, where a retrieval time of several hours is acceptable? (Whizlabs)
- Which factor primarily differentiates Amazon S3 Glac- Data Retrieval ier storage classes from one another? (Whizlabs)
- Which AWS service allows you to host static websites easily and cost-effectively without managing infra- structure? (Whizlabs)
- Which is the default endpoint format for an Amazon
Amazon S
http://buck- S3 bucket configured for static website hosting? (Whi- et-name.s3-website-re- zlabs)
- Which AWS service can be used in conjunction with Amazon S3 to enable custom domain names for a static website? (Whizlabs)
- Which feature of Amazon EC2 allows users to scale compute resources automatically based on demand? (Whizlabs)
gion.amazonaws.com
Amazon Route 53
Auto Scaling Groups
- Which of the following storage options is suitable for EC2 instances that require low-latency access to data? (Whizlabs)
Amazon EBS
- Which pricing model allows users to commit to a con- Reserved Instances sistent amount of usage for a one- or three-year term in exchange for significant discounts on hourly usage rates? (Whizlabs)
- What is the fundamental difference between On-De- mand Instances and Spot Instances in Amazon EC2? (Whizlabs)
On-demand instances have no interruptions, while Spot Instances can be interrupted by Amazon EC2 with a 2 minute noti- fication
- Which AWS service allows customers to request Dedi- Amazon EC cated Hosts to run instances on hardware that is ded- icated to their specific use? (Whizlabs)
- What does an EC2 instance's Amazon Machine Image A template for launching (AMI) represent? (Whizlabs)
- A developer needs to redesign a set of microser- vices that were written with AWS Lambda. The cur- rent microservices design has Lambda functions that each contain some business logic. The Lambda func-
EC2 instances
Create a workflow in AWS Step Functions that coor- dinates all Lambda func- tion calls, using retry log- tions call other Lambda functions directly to make mi- ic for failed functions. Re- croservices requests. However, the Lambda functions move the code from the being called sometimes fail while processing or do not Lambda functions that call respond in time. This lack of a timely response causes other lambda functions the calling Lambda function to time out.
Which IAM action permissions does the company use to perform this task? (AWS)
- A developer wants to implement Amazon EC2 Auto Scaling for a Multi-AZ web application. However, the developer is concerned that user sessions will be lost during scale-in events.
How can the developer store the session state and share it across the EC2 instances? (AWS)
- Which service in AWS is used to create a logically iso- lated section within the AWS Cloud, allowing you to launch AWS resources in a virtual network? (WhizLabs)
- Which component is NOT a part of the Amazon VPC networking infrastructure? (WhizLabs)
- Which Amazon VPC components help monitor and capture information related to IP traffic going to and from network interfaces in the VPC? (WhizLabs)
- Which AWS service is used to allow instances in a private subnet to access the internet while remaining secure from inbound traffic initiated from the inter- net? (WhizLabs)
- Which AWS service allows users to distribute content globally using a network of edge locations to reduce latency and deliver content with high data transfer speeds? (WhizLabs)
Store the sessions in an Amazon ElastiCache for Memcached cluster. Con- figure the application to use the Memcached API
Amazon VPC
Internet Gateway
VPC Flow Logs
NAT Gateway
Amazon CloudFront
Which of the following is a valid range for CIDR nota- tion in defining IP address blocks within an Amazon VPC? (WhizLabs)
172.16.0.0/12 to 172.31.255.255/
- What is the maximum number of VPCs that can be cre- 50 ated per AWS region by default for an AWS account? (WhizLabs)
- Which AWS service enables a dedicated network con- nection between an on-premises data center and AWS, providing a private and consistent connection to Amazon VPCs?
AWS Direct Connect
- What is a proper definition of an IAM Role? (Udemy) An IAM entity that defines a set of permissions for making requests to AWS services, and will be used by an AWS service
- Which of the following is an IAM Security Tool? (Ude- my)
IAM Credentials Report
- What are IAM Policies? (Udemy) JSON documents that de- fine a set of permissions for making requests to AWS services, and can be used by IAM Users, User Groups, and IAM Roles
- IAM users groups can contain IAM Users and other User Groups (Udemy)
False
- Security Groups
You have just terminated an EC2 instance in us-east-1a, and its attached EBS volume is now avail- able. Your teammate tries attach it to an EC2 instance in us-east-1b but he can't. What is a possible cause for this? (Udemy)
- You have launched an EC2 instance with two EBS vol-
EBS volumes are locked to an Availability Zone
The Root volume type will umes, the Root volume type and the other EBS volume be deleted and the EBS type to store the data. A month later you are planning volume type will not be to terminate the EC2 instance. What's the default be- havior that will happen to each EBS volume? (Udemy)
- You can use an AMI in Virginia Region use-east-1 to launch an EC2 instance in any AWS Region
deleted
False
- Which of the following EBS volume types can be used gp2, gp3, io1, io as boot volumes when you create EC2 instances?
- What is EBS Multi-Attach? Attach the same EBS vol- ume to multiple EC2 in- stances in the same AZ
- You have provisioned an 8TB gp2 EBS volume and you Increase the EBS volume are running out of IOPS. What is NOT a way to increase size performance. (Udemy)
- You have a fleet of EC2 instances distributes across AZs that process a large data set. What do you recom- mend to make the same data to be accessible as an NFS drive to all of your EC2 instances? (Udemy)
Use EFS
- You would like to have a high-performance local cache Instance Store for your application hosted on an EC2 instance. You
don't mind losing the cache upon the termination of your EC2 instance. Which storage mechanism do you recommend as a Solutions Architect? (Udemy)
- You are running a high-performance database that requires an IOPS of 310,000 for its underlying storage. What do you recommend? (Udemy)
- Scaling an EC2 instance from r4.large to r4.xlarge is called. ...... (Udemy)
Use an EC2 Instance Store
Vertical Scalability
- Running an application on an Auto Scaling Group that Horizontal Scalability scales the number of EC2 instances in and out is called . ...... (Udemy)
- Elastic Load Balancers provide a........................... (Ude- my)
static DNS name we can use in our application
- You are running a website on 10 EC2 instances fronted The Elastic Load Balancer by an Elastic Load Balancer. Your users are complain- ing about the fact that the website always asks them to re-authenticate when they are moving between website pages. You are puzzled because it's working just fine on your machine and in the Dev environment with 1 EC2 instance. What could be the reason? (Ude- my)
does not have Sticky Ses- sions enabled
- You are using an Application Load Balancer to distrib- Modify your website's ute traffic to your website hosted on EC2 instances. It backend to get the client turns out that your website only sees traffic coming IP address from X-For- from private IPv4 addresses which are in fact your Ap- warded-For header plication Load Balancer's IP addresses. What should
- You want to create a custom application-based cookie APPUSERC in your Application Load Balancer. Which of the follow- ing you can use as a cookie name? (Udemy)
- You have a Network Load Balancer that distributes traf-Enable Cross-Zone Load fic across a set of EC2 instances in us-east-1. You have Balancing 2 EC2 instances in us-east-1b AZ and 5 EC2 instances in us-east-1e AZ. You have noticed that the CPU uti- lization is higher in the EC2 instances in us-east-1b AZ. After more investigation, you noticed that the traffic is equally distributed across the two AZs. How would you solve this problem? (Udemy)
- Which feature in both Application Load Balancers and Server Name Indication Network Load Balancers allows you to load multiple SSL certificates on one listener? (Udemy)
- You have an Application Load Balancer that is config- ured to redirect traffic to 3 Target Groups based on the following hostnames: users.example.com, api.ex- ternal.example.com, and checkout.example.com. You would like to configure HTTPS for each of these host- names. How do you configure the ALB to make this work? (Udemy)
- You have an application hosted on a set of EC2 in- stances managed by an Auto Scaling Group that you configured both desired and maximum capacity to 3. Also, you have created a CloudWatch Alarm that is configured to scale out your ASG when CPU Utilization reaches 60%. Your application suddenly received huge
(SNI)
Use Server Name Indica- tion (SNI)
Nothing
traffic and is now running at 80% CPU Utilization. What will happen? (Udemy)
- You have an Auto Scaling Group fronted by an Appli- The^ ASG^ will^ terminate^ the cation Load Balancer. You have configured the ASG to EC2 instance use ALB Health Checks, then one EC2 instance has just been reported unhealthy. What will happen to the EC instance? (Udemy)
- Your boss asked you to scale your Auto Scaling Group Create a CloudWatch cus- based on the number of requests per minute your tom metric then create a application makes to your database. What should you CloudWatch Alarm on this do? (Udemy)
- An application is deployed with an Application Load Balancer and an Auto Scaling Group. Currently, you manually scale the ASG and you would like to define a Scaling Policy that will ensure the average number of connections to your EC2 instances is around 1000. Which Scaling Policy should you use? (Udemy)
metric to scale your ASG
Target Tracking Policy
- Your application hosted on EC2 instances managed by Cooldown Period an Auto Scaling Group suddenly receives a spike in traffic which triggers your ASG to scale out and a new EC2 instance has been launched. The traffic continu- ously increases but the ASG doesn't launch any new EC2 instances immediately but after 5 minutes. What is a possible cause for this behavior? (Udemy)
- Amazon RDS supports the following databases, EX- CEPT: (Udemy)
MongoDB
- Enable Multi-AZ
experience. What should you do to improve the users' experience? (Udemy)
- You are running an ElastiCache Redis cluster which you want to ensure it is high available. What should you do? (Udemy)
- Your company has a production Node.js application that is using RDS MySQL 5.6 as its database. A new application programmed in Java will perform some heavy analytics workload to create a dashboard on a regular hourly basis. What is the most cost-effective solution you can implement to minimize disruption for the main application? (Udemy)
- You would like to create a disaster recovery strategy for your RDS PostgreSQL database so that in case of a regional outage the database can be quickly made
Enable Multi-AZ
Create a Read Replica in a ditterent AZ and run the analytics workload on the replica database
Create a Read Replica in a ditterent region and en- able Multi-AZ on the Read available for both read and write workloads in another Replica AWS Region. The DR database must be highly avail- able. What do you recommend? (Udemy)
- You have migrated the MySQL database from on-premises to RDS. You have a lot of applications and developers interacting with your database. Each developer has an IAM user in the company's AWS account. What is a suitable approach to give access to developers to the MySQL RDS DB instance instead of creating a DB user for each one? (Udemy)
- Which of the following statement is true regarding replication in both RDS Read Replicas and Multi-AZ? (Udemy)
Enable IAM Database Au- thentication
Read Replica uses Asyn- chronous Replication and
Multi-AZ uses Synchro- nous Replication
- How do you encrypt an unencrypted RDS DB instance? Create a snapshot of the (Udemy)
- For your RDS database, you can have up to ............ Read Replicas. (udemy)
- Which RDS database technology does NOT support IAM Database Authentication? (Udemy)
- You have an un-encrypted RDS DB instance and you want to create Read Replicas. Can you configure the RDS Read Replicas to be encrypted? (Udemy)
- How many Aurora Read Replicas can you have in a single Aurora DB Cluster? (Udemy)
- Amazon Aurora supports both............................... data- bases. (Udemy)
- What is the maximum number of Read Replicas you can add in an ElastiCache Redis Cluster with Clus- ter-Mode Disabled? (Udemy)
- You have an ElastiCache Redis Cluster that serves a popular application. You have noticed that there are a large number of requests that go to the database
unencrypted RDS DB in- stance, copy the snapshot and tick "Enable encryp- tion", then restore the RDS DB instance from the en- crypted snapshot
15
Oracle
No
MySQL and PostgreSQL
Cache Evictions, Scale up or out your ElastiCache Redis Cluster
old ELB. What is a possible cause for this behavior? (Udemy)
- You have an application that's hosted in two different Latency AWS Regions us-west-1 and eu-west-2. You want your users to get the best possible user experience by min- imizing the response time from application servers to your users. Which Route 53 Routing Policy should you choose? (Udemy)
- You have a legal requirement that people in any coun- Geolocation try but France should NOT be able to access your website. Which Route 53 Routing Policy helps you in achieving this? (Udemy)
- You have purchased a domain on GoDaddy and would Create a Public Hosted like to use Route 53 as the DNS Service Provider. What Zone and update the 3rd should you do to make this work? (Udemy)
- Which of the following are NOT valid Route 53 Health Checks? (Udemy)
- Security Groups operate at the ................. level while NACLs operate at the ................. level. (Udemy)
- You have attached an Internet Gateway to your VPC, but your EC2 instances still don't have access to the internet. What is NOT a possible issue? (Udemy)
- You would like to provide Internet access to your EC instances in private subnets with IPv4 while making sure this solution requires the least amount of admin-
party Registrar NS records
Health Check that monitor SQS Queue
EC2 instance, Subnet
The Security Group does not allow traflc in
NAT Gateway
istration and scales seamlessly. What should you use? (Udemy)
- When using VPC Endpoints, what are the only two AWS services that have a Gateway Endpoint available? (Udemy)
- You have 3 VPCs A, B, and C. You want to establish a
Amazon S3 & DynamoDB
Establish 3 VPC Peer- VPC Peering connection between all the 3 VPCs. What ing connections (A-B, A-C, should you do? (Udemy)
- How can you capture information about IP traffic in- side your VPCs? (Udemy)
- You need to set up a dedicated connection be- tween your on-premises corporate datacenter and AWS Cloud. This connection must be private, consis- tent, and traffic must not travel through the Internet. Which AWS service should you use? (Udemy)
- A web application hosted on a fleet of EC2 instances
B- C)
Enable VPC Flow Logs
AWS Direct Connect
Add an Inbound Rule with managed by an Auto Scaling Group. You are exposing port 80 and ALB's Security this application through an Application Load Balancer. Group as the source Both the EC2 instances and the ALB are deployed on a VPC with the following CIDR 192.168.0.0/18. How do you configure the EC2 instances' security group to ensure only the ALB can access them on port 80? (Udemy)
- You have a 25 GB file that you're trying to upload to S3 Use Multi-Part upload but you're getting errors. What is a possible solution for this? (Udemy)
when uploading files larg- er than 5GB