AWS Certified Developer Association (DVA-C02) Questions Part 1

Practice the AWS Certified Developer Association (DVA-C02) Questions Part 1. 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

0%

AWS Certified Developer Association (DVA-C02) Part 1

AWS Certified Developer Association (DVA-C02)

Free AWS Certified Developer Association (DVA-C02) Part 1

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 1

1. A gaming company is developing a mobile game application for iOS® and
Android® platforms. This mobile game securely stores user data locally on the
device. The company wants to allow users to use multiple device for the game,
which requires user data synchronization across device.Which service should be
used to synchronize user data across devices without the need to create a
backend application?

2 / 50

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

2. An AWS Lambda function generates a 3MB JSON file and then uploads it to an
Amazon S3 bucket daily. The file contains sensitive information, so the Developer
must ensure that it is encrypted before uploading to the bucket. Which of the
following modifications should the Developer make to ensure that the data is
encrypted before uploading it to the bucket?

3 / 50

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

3. A Developer is creating an application that needs to locate the public IPv4 address
of the Amazon EC2 instance on which it runs. How can the application locate this
information?

4 / 50

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

4. A software company needs to make sure user-uploaded documents are securely
stored in Amazon S3. The documents must be encrypted at rest in Amazon S3. The
company does not want to manage the security infrastructure in-house, but the
company still needs extra protection to ensure it has control over its encryption
keys due to industry regulations. Which encryption strategy should a developer
use to meet these requirements?

5 / 50

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

5. A Developer is asked to implement a caching layer in front of Amazon RDS.
Cached content is expensive to regenerate in case of service failure. Which
implementation below would work while maintaining maximum uptime?

6 / 50

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

6. An Amazon RDS database instance is used by many applications to look up
historical data. The query rate is relatively constant. When the historical data is
updated each day, the resulting write traffic slows the read query performance and
affects all application users. What can be done to eliminate the performance
impact on application users?

7 / 50

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

7. Queries to an Amazon DynamoDB table are consuming a large amount of read
capacity. The table has a significant number of large attributes. The application
does not need all of the attribute data. How can DynamoDB costs be minimized
while maximizing application performance?

8 / 50

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

8. A Developer is making changes to a custom application that is currently using
AWS Elastic Beanstalk. After the Developer completes the changes, what solutions
will update the Elastic Beanstalk environment with the new application version?
(Choose TWO)

9 / 50

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

9. An application contains two components: one component to handle HTTP
requests, and another component to handle background processing tasks. Each
component must scale independently. The developer wants to deploy this
application using AWS Elastic Beanstalk. How should this application be deployed,
based on these requirements?

10 / 50

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

10. A Developer is writing a REST service that will add items to a shopping list. The
service is built on Amazon API Gateway with AWS Lambda integrations. The
shopping list items are send as query string parameters in the method request.
How should the Developer convert the query string parameters to arguments for
the Lambda function?

11 / 50

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

11. The development team is working on an API that will be served from Amazon API
gateway. The API will be served from three environments: development, test, and
production. The API Gateway is configured to use 237 GB of cache in all three
stages. Which is the MOST cost-efficient deployment strategy?

12 / 50

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

12. A Developer needs to design an application running on AWS that will be used to
consume Amazon SQS messages that range from 1 KB up to 1GB in size. How
should the Amazon SQS messages be managed?

13 / 50

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

13. A developer needs to modify an application architecture to meet new functional
requirements. Application data is stored in Amazon DynamoDB and processed for
analysis in a nightly batch. The system analysts do not want to wait unit the next
day to view the processed data and have asked to have it available in near-real
time. Which application architect pattern would enables the data to be processed
as it is received?

14 / 50

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

14. A developer has written a multi-threaded application that is running on a fleet of
Amazon EC2 instances. The operations team has requested a graphical method to
monitor the number of running threads over time. What is the MOST efficient way
to fulfill this request?

15 / 50

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

15. A developer must extend an existing application that is based on the AWS Services
Application Model (AWS SAM). The developer has used the AWS SAM CLI to
create the project. The project contains different AWS Lambda functions. Which
combination of commands must the developer use to redeploy the AWS SAM
application? (Select TWO)

16 / 50

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

16. An application is being developed to audit several AWS accounts. The application
will run in Account A and must access AWS services in Accounts B and C. What is
the MOST secure way to allow the application to call AWS services in each audited
account?

17 / 50

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

17. Company D is running their corporate website on Amazon S3 accessed from
http://www.companyd.com. Their marketing team has published new web fonts to
a separate S3 bucket accessed by the S3 endpoint https://s3-us-west1.amazonaws.com/cdfonts. While testing the new web fonts, Company D
recognized the web fonts are being blocked by the browser. What should
Company D do to prevent the web fonts from being blocked by the browser?

18 / 50

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

18. A company is using AWS CloudFormation templates to deploy AWS resources. The
company needs to update one of its AWS CloudFormation stacks. What can the
company do to find out how the changes will impact the resources that are
running?

19 / 50

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

19. An application on AWS is using third-party APIs. The Developer needs to monitor
API errors in the code, and wants to receive notifications if failures go above a set
threshold value. How can the Developer achieve these requirements?

20 / 50

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

20. A Developer wants to upload data to Amazon S3 and must encrypt the data in
transit. Which of the following solutions will accomplish this task? (Choose TWO)

21 / 50

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

21. A company is developing a serverless ecommerce web application. The application
needs to make coordinated, all-or-nothing changes to multiple items in the
company's inventory table in Amazon DynamoDB. Which solution will meet these
requirements?

22 / 50

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

22. A global company has an application running on Amazon EC2 instances that
serves image files from Amazon S3. User requests from the browser are causing
high traffic, which results in degraded performance. Which optimization solution
should a Developer implement to increase application performance?

23 / 50

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

23. A company is building a compute-intensive application that will run on a fleet of
Amazon EC2 instances. The application uses attached Amazon EBS disks for
storing data. The application will process sensitive information and all the data
must be encrypted. What should a developer do to ensure the data is encrypted
on disk without impacting performance?

24 / 50

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

24. A company has written a Java AWS Lambda function to be triggered whenever a
user uploads an image to an Amazon S3 bucket. The function converts the original
image to several different formats and then copies the resulting images to another
Amazon S3 bucket. The Developers find that no images are being copied to the
second Amazon S3 bucket. They have tested the code on an Amazon EC2 instance
with 1GB of RAM, and it takes an average of 500 seconds to complete. What is the
MOST likely cause of the problem?

25 / 50

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

25. An application running on EC2 instances is storing data in an S3 bucket. Security
policy mandates that all data must be encrypted in transit. How can the Developer
ensure that all traffic to the S3 bucket is encrypted?

26 / 50

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

26. Company D is running their corporate website on Amazon S3 accessed from
http://www.companyd.com. Their marketing team has published new web fonts to
a separate S3 bucket accessed by the S3 endpoint https://s3-us-west1.amazonaws.com/cdfonts. While testing the new web fonts, Company D
recognized the web fonts are being blocked by the browser. What should
Company D do to prevent the web fonts from being blocked by the browser?

27 / 50

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

27. A company is migrating its on-premises database to Amazon RDS for MySQL. The
company has read-heavy workloads, and wants to make sure it re-factors its code
to achieve optimum read performance for its queries. How can this objective be
met?

28 / 50

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

28. A developer Is designing an AWS Lambda function that create temporary files that
are less than 10 MB during execution. The temporary files will be accessed and
modified multiple times during execution. The developer has no need to save or
retrieve these files in the future. Where should the temporary file be stored?

29 / 50

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

29. The release process workflow of an application requires a manual approval before
the code is deployed into the production environment. What is the BEST way to
achieve this using AWS CodePipeline?

30 / 50

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

30. A website's page load times are gradually increasing as more users access the
system at the same time. Analysis indicates that a user profile is being loaded from
a database in all the web pages being visited by each user and this is increasing
the database load and the page load latency. To address this issue the Developer
decides to cache the user profile data. Which caching strategy will address this
situation MOST efficiently?

31 / 50

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

31. An advertising company has a dynamic website with heavy traffic. The company
wants to migrate the website infrastructure to AWS to handle everything except
website development. Which solution BEST meets these requirements?

32 / 50

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

32. A company is running an application built on AWS Lambda functions. One Lambda
function has performance issues when it has to download a 50MB file from the
Internet in every execution. This function is called multiple times a second. What
solution would give the BEST performance increase?

33 / 50

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

33. An AWS Lambda function accesses two Amazon DynamoDB tables. A developer
wants to improve the performance of the Lambda function by identifying
bottlenecks in the function. How can the developer inspect the timing of the
DynamoDB API calls?

34 / 50

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

34. An application uses Amazon Kinesis Data Streams to ingest and process large
streams of data records in real time. Amazon EC2 instances consume and process
the data from the shards of the Kinesis data stream by using Amazon Kinesis
Client Library (KCL). The application handles the failure scenarios and does not
require standby workers. The application reports that a specific shard is receiving
more data than expected. To adapt to the changes in the rate of data flow, the
'hot' shard is resharded. Assuming that the initial number of shards in the Kinesis
data stream is 4, and after resharding the number of shards increased to 6, what is
the maximum number of EC2 instances that can be deployed to process data from
all the shards?

35 / 50

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

35. The Lambda function below is being called through an API using Amazon API
Gateway. The average execution time for the Lambda function is about 1 second.
The pseudocode for the Lambda function is as shown in the exhibit. What two
actions can be taken to improve the performance of this Lambda function without
increasing the cost of the solution? (Select TWO)

36 / 50

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

36. An application is running on an EC2 instance. The Developer wants to store an
application metric in Amazon CloudWatch. What is the best practice for
implementing this requirement?

37 / 50

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

37. A development team is creating a new application designed to run on AWS. While
the test and production environments will run on Amazon EC2 instances,
developers will each run their own environment on their laptops. Which of the
following is the simplest and MOST secure way to access AWS services from the
local development machines?

38 / 50

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

38. A company stores all personally identifiable information (PII) in an Amazon
DynamoDB table named PII in Account A. An application running on Amazon EC2
instances in Account B requires access to the PII table. An administrators in
Account A created an IAM role named AccessPII with privileges to access the PII
table, and made account B a trusted entity. Which combination of actional steps
should Developers take to access the table? (Select TWO)

39 / 50

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

39. A Developer wants to encrypt new objects that are being uploaded to an Amazon
S3 bucket by an application. There must be an audit trail of who has used the key
during this process. There should be no change to the performance of the
application. Which type of encryption meets these requirements?

40 / 50

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

40. A developer wants to send multi-value headers to an AWS Lambda function that is
registered as a target with an Application Load Balancer (ALB). What should the
developer do to achieve this?

41 / 50

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

41. How is provisioned throughput affected by the chosen consistency model when
reading data from a DynamoDB table?

42 / 50

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

42. A supplier is writing a new RESTful API for customers to query the status of orders.
The customers requested the following API endpoint
http://www.supplierdomain.com/status/customerID. Which of the following
application designs meet the requirements? (Select TWO)

43 / 50

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

43. A developer wants the ability to roll back to a previous version of an AWS Lambda
function in the event of errors caused by a new deployment. How can the
developer achieve this with MINIMAL impact on users?

44 / 50

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

44. A developer is writing an AWS Lambda function. The developer wants to log key
events that occur during the Lambda function and include a unique identifier to
associate the events with a specific function invocation. Which of the following will
help the developer accomplish this objective?

45 / 50

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

45. A company's ecommerce website is experiencing massive traffic spikes, which are
causing performance problems in the company database. Users are reporting that
accessing the website takes a long time. A developer wants to implement a
caching layer using Amazon ElastiCache. The website is required to be responsive
no matter which product a user views, and the updates to product information
and prices must be strongly consistent. Which cache writing policy will satisfy
these requirements?

46 / 50

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

46. An application deployed on AWS Elastic Beanstalk experiences increased error
rates during deployments of new application versions, resulting in service
degradation for users. The Development team believes that this is because of the
reduction in capacity during the deployment steps. The team would like to change
the deployment policy configuration of the environment to an option that
maintains full capacity during deployment while using the existing instances.
Which deployment policy will meet these requirements while using the existing
instances?

47 / 50

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

47. A company uses a third-party tool to build, bundle, and package rts applications
on-premises and store them locally. The company uses Amazon EC2 instances to
run its front-end applications. How can an application be deployed from the
source control system onto the EC2 instances?

48 / 50

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

48. A developer is creating a serverless web application and maintains different
branches of code. The developer wants to avoid updating the Amazon API
Gateway target endpoint each time a new code push is performed. What solution
would allow the developer to perform a code push efficiently, without the need to
update the API Gateway?

49 / 50

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

49. A developer needs to deploy a new version to an AWS Elastic Beanstalk
application. How can the developer accomplish this task?

50 / 50

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

50. Which of the following services are key/value stores? (Choose 3 answers)

Your score is

0%

See also:

Institute of Chartered Accountants of Nigeria (ICAN) Exam 1

Chartered Financial Analyst (CFA) Exam 1

Certified Associate of Project Management (CAPM) Exam 1

PMP (Project Management Professional) Exam 1

AWS Certified Developer Associate (50 Questions & Answers)

Leave a Comment

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

Certifications Exam Prep
Scroll to Top
This Website/App is solely sponsored, developed by me. Please donate to help me pay for server and website renewal.
This is default text for notification bar