AWS DVA-C02 Practice Exam 02 Certification
Guide 2026
1. You are working on an application that shares video There is a server-side er-
content to subscribed users. This morning, you have ror within your AWS infra-
received a number of complaints that users are unable structure.
to access your content, and they are seeing an HTTP
504 status code. Which of the following could be a
possible explanation?
There is a server-side error within your AWS infrastruc-
ture.
The users could be attempting to access your site us-
ing an unsupported browser.
The users have a network connectivity problem.
There is a client-side error in the user's infrastructure.
2. You are developing a meme-sharing application that Use Cognito for sign-up
runs business login on a fleet of EC2 instances behind and use IAM to manage
an Application Load Balancer. Your website is served user permissions.
by a CloudFront distribution. The security architect has
asked you to decouple the user authentication process
from the application servers, enable users to easily
sign up and sign in to the website and use proper
Identity and Access Management controls to allow ac-
cess to a number of S3 buckets where they can upload
images. Which of the following solutions would you
recommend to address this use-case?
Use Cognito for sign-up and use IAM to manage user
permissions.
Use MFA for sign-up and sign-in, and use IAM to man-
, AWS DVA-C02 Practice Exam 02 Certification
Guide 2026
age user permissions.
Use Cognito for sign-up, and use resource policies to
manage user permissions.
Use IAM for sign-up and use Cognito to manage user
permissions.
3. Your application runs on a fleet of EC2 instances be- Use Parameter Store to
hind an Elastic load Balancer. Due to security compli- store any secrets as a Se-
ance, your organization wants any secret strings used cureString.
in the application must be encrypted to avoid exposing
secrets in clear text. The security architect has request- Audit the API calls using
ed that all decryption activities are audited so that any CloudTrail.
API calls to decrypt the secrets can be traced. How can
this be achieved?
(Choose 2)
Use Parameter Store to store any secrets as a Secure-
String.
Use Parameter Store to store any secrets in plain text.
Audit the API calls using CloudTrail.
Use KMS server side encryption to encrypt the secrets
before storing them in Parameter Store.
Audit the API calls using CloudWatch Logs.
4. You are in a development team working on a pop- Ensure your application is
ular serverless web application that allows users to using exponential backott.
book late availability flights and hotels at a significant
, AWS DVA-C02 Practice Exam 02 Certification
Guide 2026
discount. You occasionally receive complaints that the
website is running slowly. After some investigation,
you notice that at the time of the complaints, Dy-
namoDB reported a ProvisionedThroughputExceed-
edException error. Which of the following approaches
is a recommended way to handle this error?
Ensure your application is using exponential backoff.
Increase the RAM capacity of the Lambda function.
Increase the CPU capacity of the Lambda function.
Increase the read/write capacity of the DynamoDB
table.
5. Which section of the AWS Serverless Application Model Transform
template is required and identifies an AWS CloudFor-
mation template file as an AWS SAM template file?
Functions
Templates
Sam
Transform
6. An online training company is using a Lambda func- Use a dead-letter queue
tion behind API Gateway as its web application tier. To to store the failed invo-
process customer orders during checkout, the appli- cations so they can be
cation calls a POST API from the web frontend. The re-processed.
POST API invokes a Lambda function asynchronously,
which makes a further API call to a third-party payment Configure a Lambda des-
, AWS DVA-C02 Practice Exam 02 Certification
Guide 2026
service. Occasionally, the application fails to process tination to receive invoca-
customer transactions; how could you design your tion records for any failed
Lambda function so that it can handle errors that occur invocations.
as the result of a failed invocation?
(Choose 2)
Use a dead-letter queue to store the failed invocations
so they can be re-processed.
Inspect the Lambda logs in Amazon CloudWatch for
possible errors. Fix the errors.
Increase the function memory to give it more capacity.
Configure a Lambda destination to receive invocation
records for any failed invocations.
Inspect the frontend logs for API failures.
7. Which of the following does Cognito use to manage User pools
sign-up and sign-in functionality for mobile and web
applications?
IAM users
Identity pools
IAM groups
User pools
8. You are the development lead on a large project to Use CodeCommit to man-
launch a new e-commerce website specializing in fish- age your source code.
ing supplies. Your developers are located in India, USA,
and the Middle East. You need to find a source code
repository that everyone can use and that will allow
developers to continue to work on their code even
Guide 2026
1. You are working on an application that shares video There is a server-side er-
content to subscribed users. This morning, you have ror within your AWS infra-
received a number of complaints that users are unable structure.
to access your content, and they are seeing an HTTP
504 status code. Which of the following could be a
possible explanation?
There is a server-side error within your AWS infrastruc-
ture.
The users could be attempting to access your site us-
ing an unsupported browser.
The users have a network connectivity problem.
There is a client-side error in the user's infrastructure.
2. You are developing a meme-sharing application that Use Cognito for sign-up
runs business login on a fleet of EC2 instances behind and use IAM to manage
an Application Load Balancer. Your website is served user permissions.
by a CloudFront distribution. The security architect has
asked you to decouple the user authentication process
from the application servers, enable users to easily
sign up and sign in to the website and use proper
Identity and Access Management controls to allow ac-
cess to a number of S3 buckets where they can upload
images. Which of the following solutions would you
recommend to address this use-case?
Use Cognito for sign-up and use IAM to manage user
permissions.
Use MFA for sign-up and sign-in, and use IAM to man-
, AWS DVA-C02 Practice Exam 02 Certification
Guide 2026
age user permissions.
Use Cognito for sign-up, and use resource policies to
manage user permissions.
Use IAM for sign-up and use Cognito to manage user
permissions.
3. Your application runs on a fleet of EC2 instances be- Use Parameter Store to
hind an Elastic load Balancer. Due to security compli- store any secrets as a Se-
ance, your organization wants any secret strings used cureString.
in the application must be encrypted to avoid exposing
secrets in clear text. The security architect has request- Audit the API calls using
ed that all decryption activities are audited so that any CloudTrail.
API calls to decrypt the secrets can be traced. How can
this be achieved?
(Choose 2)
Use Parameter Store to store any secrets as a Secure-
String.
Use Parameter Store to store any secrets in plain text.
Audit the API calls using CloudTrail.
Use KMS server side encryption to encrypt the secrets
before storing them in Parameter Store.
Audit the API calls using CloudWatch Logs.
4. You are in a development team working on a pop- Ensure your application is
ular serverless web application that allows users to using exponential backott.
book late availability flights and hotels at a significant
, AWS DVA-C02 Practice Exam 02 Certification
Guide 2026
discount. You occasionally receive complaints that the
website is running slowly. After some investigation,
you notice that at the time of the complaints, Dy-
namoDB reported a ProvisionedThroughputExceed-
edException error. Which of the following approaches
is a recommended way to handle this error?
Ensure your application is using exponential backoff.
Increase the RAM capacity of the Lambda function.
Increase the CPU capacity of the Lambda function.
Increase the read/write capacity of the DynamoDB
table.
5. Which section of the AWS Serverless Application Model Transform
template is required and identifies an AWS CloudFor-
mation template file as an AWS SAM template file?
Functions
Templates
Sam
Transform
6. An online training company is using a Lambda func- Use a dead-letter queue
tion behind API Gateway as its web application tier. To to store the failed invo-
process customer orders during checkout, the appli- cations so they can be
cation calls a POST API from the web frontend. The re-processed.
POST API invokes a Lambda function asynchronously,
which makes a further API call to a third-party payment Configure a Lambda des-
, AWS DVA-C02 Practice Exam 02 Certification
Guide 2026
service. Occasionally, the application fails to process tination to receive invoca-
customer transactions; how could you design your tion records for any failed
Lambda function so that it can handle errors that occur invocations.
as the result of a failed invocation?
(Choose 2)
Use a dead-letter queue to store the failed invocations
so they can be re-processed.
Inspect the Lambda logs in Amazon CloudWatch for
possible errors. Fix the errors.
Increase the function memory to give it more capacity.
Configure a Lambda destination to receive invocation
records for any failed invocations.
Inspect the frontend logs for API failures.
7. Which of the following does Cognito use to manage User pools
sign-up and sign-in functionality for mobile and web
applications?
IAM users
Identity pools
IAM groups
User pools
8. You are the development lead on a large project to Use CodeCommit to man-
launch a new e-commerce website specializing in fish- age your source code.
ing supplies. Your developers are located in India, USA,
and the Middle East. You need to find a source code
repository that everyone can use and that will allow
developers to continue to work on their code even