50 AWS Certified Developer Associate Questions

AWS Certified Developer Associate (DVA-C02): 50 Questions with Answers

Practice the 50 AWS Certified Developer Associate past questions and answers. Our experts have answered the questions, and you will get the correct answers. Prepare yourself for the exam ahead and test your knowledge and readiness.

AWS Certified Developer Association (DVA-C02) Part 3

AWS Certified Developer Association (DVA-C02)

AWS Certified Developer Association (DVA-C02) Part 3

Questions will be picked at random from the question bank.

You can use the NEXT button to move to the next question, use the PREV button to move to the previous question, the CLEAR button to clear any answer of your choice and you have the FINISH button to end the exam if you choose to.

Any question not answered before the end of the exam time, will be marked as wrong and the exam will end by itself. So try to attempt all questions on time.

Goodluck!

1 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A Developer needs to deploy an application running on AWS Fargate using
Amazon ECS. The application has environment variables that must be passed to a
container for the application to initialize. How should the environment variables
be passed to the container?

2 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A Developer has an application that must accept a large amount of incoming data
streams and process the data before sending it to many downstream users. Which
serverless solution should the Developer use to meet these requirements?

3 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer is provided with an HTTPS clone URL for an AWS CodeCommit
repository. What needs to be configured before cloning this repository?

4 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A development team uses AWS Elastic Beanstalk for application deployment. The
team has configured the application version lifecycle policy to limit the number of
application versions to 25. However, even with the lifecycle policy, the source
bundle is deleted from the Amazon S3 source bucket. What should a developer do
in the Elastic Beanstalk application version lifecycle settings to retain the source
code in the S3 bucket?

5 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer must ensure that the IAM credentials used by an application in
Amazon EC2 are not misused or compromised. What should the developer use to
keep user credentials secure?

6 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A development team is building a new application that will run on Amazon EC2
and use Amazon DynamoDB as a storage layer. The developers all have assigned
IAM user accounts in the same IAM group. The developers currently can launch
EC2 instances, and they need to be able to launch EC2 instances with an instance
role allowing access to Amazon DynamoDB. Which AWS IAM changes are needed
when creating an instance role to provide this functionality?

7 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A front-end web application is using Amazon Cognito user pools to handle the
user authentication flow. A developer is integrating Amazon DynamoDB into the
application using the AWS SDK for JavaScript. How would the developer securely
call the API without exposing the access or secret keys?

8 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A Developer has an Amazon DynamoDB table that must be in provisioned mode
to comply with user requirements. The application needs to support the following:
Average item size: 10 KB Item reads each second: 10 strongly consistent Item
writes each second: 2 transactional Which read and write capacity cost-effectively
meets these requirements?

9 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A development team is designing a mobile app that requires multi-factor
authentication. Which steps should be taken to achieve this? (Choose TWO)

10 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

An application running on Amazon EC2 opens connections to an Amazon RDS
SQL Server database. The developer does not want to store the user name and
password for the database in the code. The developer would also like to
automatically rotate the credentials. What is the MOST secure way to store and
access the database credentials?

11 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer is refactoring a monolithic application. The application takes a POST
request and performs several operations. Some of the operations are in parallel
while others run sequentially. These operations have been refactored into
individual AWS Lambda functions. The POST request will be processed by Amazon
API Gateway. How should the developer invoke the Lambda functions in the same
sequence using API Gateway?

12 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A development team is working on a mobile app that allows users to upload
pictures to Amazon S3. The team expects the app will be used by hundreds of
thousands of users during a single event simultaneously. Once the pictures are
uploaded, the backend service will scan and parse the pictures for inappropriate
content. Which approach is the MOST resilient way to achieve this goal, which also
smooths out temporary volume spikes for the backend service?

13 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer has built a market application that stores pricing data in Amazon
DynamoDB with Amazon ElastiCache in front. The prices of items in the market
change frequently. Sellers have begun complaining that, after they update the
price of an item, the price does not actually change in the product listing. What
could be causing this issue?

14 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A Developer is writing an application that runs on Amazon EC2 instances in an
Auto Scaling group. The application data is stored in an Amazon DynamoDB table
and records are constantly updated by all instances. An instance sometimes
retrieves old data. The Developer wants to correct this by making sure the reads
are strongly consistent. How can the Developer accomplish this?

15 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer added a new feature to an application running on an Amazon EC2
instance that uses Amazon SQS. After deployment, the developer noticed a
significant increase in Amazon SQS costs. When monitoring the Amazon SQS
metrics on Amazon CloudWatch, the developer found that on average one
message per minute is posted on this queue. What can be done to reduce
Amazon SQS costs for this application?

16 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer is writing an application that will process data delivered into an
Amazon S3 bucket. The data is delivered approximately 10 times a day, and the
developer expects the data will be processed in less than 1 minute, on average.
How can the developer deploy and invoke the application with the lowest cost and
lowest latency?

17 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer is using Amazon DynamoDB to store application data. The developer
wants to further improve application performance by reducing response times for
read and write operations. Which DynamoDB feature should be used to meet
these requirements?

18 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A company has an application where reading objects from Amazon S3 is based on
the type of user. The user types are registered user and guest user. The company
has 25,000 users and is growing. Information is pulled from an S3 bucket
depending on the user type. Which approaches are recommended to provide
access to both user types? (Choose TWO)

19 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer is creating an AWS Lambda function that generates a new file each
time it runs. Each new file must be checked into an AWS CodeCommit repository
hosted in the same AWS account. How should the developer accomplish this?

20 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

An application needs to encrypt data that is written to Amazon S3 where the keys
are managed in an on-premises data center, and the encryption is handled by S3.
Which type of encryption should be used?

21 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer is updating an application deployed on AWS Elastic Beanstalk. The
new version is incompatible with the old version. To successfully deploy the
update, a full cutover to the new, updated version must be performed on all
instances at one time, with the ability to roll back changes in case of a deployment
failure in the new version. How can this be performed with the LEAST amount of
downtime?

22 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A Developer is migrating existing applications to AWS. These applications use
MongoDB as their primary data store, and they will be deployed to Amazon EC2
instances. Management requires that the Developer minimize changes to
applications while using AWS services. Which solution should the Developer use to
host MongoDB in AWS?

23 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A company requires that AWS Lambda functions written by Developers log errors
so System Administrators can more effectively troubleshoot issues. What should
the Developers implement to meet this need?

24 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

What is required to trace Lambda-based applications with AWS X-Ray?

25 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer is creating a script to automate the deployment process for a
serverless application. The developer wants to use an existing AWS Serverless
Application Model (AWS SAM) template for the application. What should the
developer use for the project? (Choose TWO)

26 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A development team wants to run their container workloads on Amazon ECS. Each
application container needs to share data with another container to collect logs
and metrics. What should the developer team do to meet these requirements?

27 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer is using AWS CodeDeploy to deploy an application running on
Amazon EC2. The developer wants to change the file permissions for a specific
deployment file. Which lifecycle event should a developer use to meet this
requirement?

28 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer converted an existing program to an AWS Lambda function in the
console. The program runs properly on a local laptop, but shows an 'Unable to
import module' error when tested in the Lambda console. Which of the following
can fix the error?

29 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

Two containerized microservices are hosted on Amazon EC2 ECS. The first
microservice reads an Amazon RDS Aurora database instance, and the second
microservice reads an Amazon DynamoDB table. How can each microservice be
granted the minimum privileges?

30 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer is setting up Amazon API Gateway for their company's products. The
API will be used by registered developers to query and update their environments.
The company wants to limit the amount of requests end users can send for both
cost and security reasons. Management wants to offer registered developers the
option of buying larger packages that allow for more requests. How can the
developer accomplish this with the LEAST amount of overhead management?

31 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

An application is experiencing performance issues based on increased demand.
This increased demand is on read-only historical records pulled from an Amazon
RDS-hosted database with custom views and queries. A Developer must improve
performance without changing the database structure. Which approach will
improve performance and MINIMIZE management overhead?

32 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

An application under development is required to store hundreds of video files. The
data must be encrypted within the application prior to storage, with a unique key
for each video file. How should the Developer code the application?

33 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A company has developed a new serverless application using AWS Lambda
functions that will be deployed using the AWS Serverless Application Model (AWS
SAM) CLI. Which step should the developer complete prior to deploying the
application?

34 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A company is managing a NoSQL database on-premises to host a critical
component of an application, which is starting to have scaling issues. The
company wants to migrate the application to Amazon DynamoDB with the
following considerations: Optimize frequent queries. Reduce read latencies. Plan
for frequent queries on certain key attributes of the table. Which solution would
help achieve these objectives?

35 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

An IAM role is attached to an Amazon EC2 instance that explicitly denies access to
all Amazon S3 API actions. The EC2 instance credentials file specifies the IAM
access key and secret access key, which allow full administrative access. Given that
multiple modes of IAM access are present for this EC2 instance, which of the
following is correct?

36 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A company's fleet of Amazon EC2 instances receives data from millions of users
through an API. The servers batch the data, add an object for each user, and
upload the objects to an S3 bucket to ensure high access rates. The object
attributes are Customer ID, Server ID, TS-Server (TimeStamp and Server ID), the
size of the object, and a timestamp. A Developer wants to find all the objects for a
given user collected during a specified time range. After creating an S3 object
created event, how can the Developer achieve this requirement?

37 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

An application is using a single-node Amazon ElastiCache for Redis instance to
improve read performance. Over time, demand for the application has increased
exponentially, which has increased the load on the ElastiCache instance. It is
critical that this cache layer handles the load and is resilient in case of node
failures. What can the Developer do to address the load and resiliency
requirements?

38 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A company is using Amazon API Gateway to manage its public-facing API. The
CISO requires that the APIs be used by test account users only. What is the MOST
secure way to restrict API access to users of this particular AWS account?

39 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A Company runs continuous integration/continuous delivery (CI/CD) pipelines for
its application on AWS CodePipeline. A Developer must write unit tests and run
them as part of the pipelines before staging the artifacts for testing. How should
the Developer incorporate unit tests as part of CI/CD pipelines?

40 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer is testing an application that invokes an AWS Lambda function
asynchronously. During the testing phase, the Lambda function fails to process
after two retries. How can the developer troubleshoot the failure?

41 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer is building an application using an Amazon API Gateway REST API
backend by an AWS Lambda function that interacts with an Amazon DynamoDB
table. During testing, the developer observes high latency when making requests
to the API. How can the developer evaluate the end-to-end latency and identify
performance bottlenecks?

42 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer needs to manage AWS infrastructure as code and must be able to
deploy multiple identical copies of the infrastructure, stage changes, and revert to
previous versions. Which approach addresses these requirements?

43 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A company wants to containerize an existing three-tier web application and
deploy it to Amazon ECS Fargate. The application is using session data to keep
track of user activities. Which approach would provide the BEST user experience?

44 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer is writing a web application that must share secure documents with
end users. The documents are stored in a private Amazon S3 bucket. The
application must allow only authenticated users to download specific documents
when requested, and only for a duration of 15 minutes. How can the developer
meet these requirements?

45 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

An ecommerce startup is preparing for an annual sales event. As the traffic to the
company's application increases, the development team wants to be notified when
the Amazon EC2 instance's CPU utilization exceeds 80%. Which solution will meet
this requirement?

46 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A company is adding stored value (or gift card) capability to its highly popular
casual gaming website. Users need to be able to trade this value for other users'
items on the platform. This would require both users' records be updated as a
single transaction, or both users' records to be completely rolled back. Which AWS
database options can provide the transactional capability required for this new
feature? (Choose TWO)

47 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A Developer is investigating an application's performance issues. The application
consists of hundreds of microservices, and a single API call can potentially have a
deep call stack. The Developer must isolate the component that is causing the
issue. Which AWS service or feature should the Developer use to gather
information about what is happening and isolate the fault?

48 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A company has 25,000 employees and is growing. The company is creating an
application that will be accessible to its employees only. A developer is using
Amazon S3 to store images and Amazon RDS to store application data. The
company requires that all employee information remain in the legacy Security
Assertion Markup Language (SAML) employee directory only and is not interested
in mirroring any employee information on AWS. How can the developer provide
authorized access for the employees who will be using this application so each
employee can access their own application data only?

49 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A company is developing a report executed by AWS Step Functions, Amazon
CloudWatch shows errors in the Step Functions task state machine. To
troubleshoot each task, the state input needs to be included along with the error
message in the state output. Which coding practice can preserve both the original
input and the error for the state?

50 / 50

Category: AWS Certified Developer Association (DVA-C02) Part 3

A developer has written an AWS Lambda function using Java as the runtime
environment. The developer wants to isolate a performance bottleneck in the
code. Which steps should be taken to reveal the bottleneck?

Your score is

The average score is 0%

0%

See also:

AWS Certified Cloud Practitioner -100 Questions & Answers (Part 2)

AWS Certified Cloud Practitioner -100 Questions & Answers (Part 1)

Free AWS Certified Cloud Practitioner Questions & Answers

AWS Certified Advanced Networking – Specialty | 90 Questions & Answers

Free AWS Certified Advanced Networking Questions & Answers

Leave a Comment

Your email address will not be published. Required fields are marked *

error: Content is protected !!
Scroll to Top