AWS Certified Developer Association Questions Part 2

AWS Certified Developer Association (DVA-C02) 50 Questions & Answers Part 2

Practice the AWS Certified Developer Association Questions Part 2. 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 2

AWS Certified Developer Association (DVA-C02)

AWS Certified Developer Association (DVA-C02) Part 2

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

A company is developing a new online game that will run on top of Amazon ECS.
Four distinct Amazon ECS services will be part of the architecture, each requiring
specific permissions to various AWS services. The company wants to optimize the
use of the underlying Amazon EC2 instances by bin packing the containers based
on memory reservation. Which configuration would allow the Development team
to meet these requirements MOST securely?

2 / 50

A Developer needs to use AWS X-Ray to monitor an application that is deployed
on EC2 instances. What steps have to be executed to perform the monitoring?

3 / 50

A Developer has created a software package to be deployed on multiple EC2
instances using IAM roles. What actions could be performed to verify IAM access
to get records from Amazon Kinesis Streams? (Select TWO)

4 / 50

A company is using AWS CodeBuild to compile a website from source code stored
in AWS CodeCommit. A recent change to the source code has resulted in the
CodeBuild project being unable to successfully compile the website. How should
the Developer identify the cause of the failures?

5 / 50

An application is real-time processing millions of events that are received through
an API. What service could be used to allow multiple consumers to process the
data concurrently and MOST cost-effectively?

6 / 50

A Developer is receiving HTTP 400: ThrottlingException errors intermittently when
calling the Amazon CloudWatch API. When a call fails, no data is retrieved. What
best practice should first be applied to address this issue?

7 / 50

During non-peak hours, a Developer wants to minimize the execution time of a
full Amazon DynamoDB table scan without affecting normal workloads. The
workloads average half of the strongly consistent read capacity units during nonpeak hours. How would the Developer optimize this scan?

8 / 50

A company is building a stock trading application that requires sub-millisecond
latency in processing trading requests. Amazon DynamoDB is used to store all the
trading data that is used to process each request. After load testing the
application, the development team found that due to data retrieval times, the
latency requirement is not satisfied. Because of sudden high spikes in the number
of requests, DynamoDB read capacity has to be significantly over-provisioned to
avoid throttling. What steps should be taken to meet latency requirements and
reduce the cost of running the application?

9 / 50

A Developer will be using the AWS CLI on a local development server to manage
AWS services. What can be done to ensure that the CLI uses the Developer's IAM
permissions when making commands?

10 / 50

A Lambda function is packaged for deployment to multiple environments,
including development, test, production, etc. Each environment has unique set of
resources such as databases, etc. How can the Lambda function use the resources
for the current environment?

11 / 50

A large e-commerce site is being designed to deliver static objects from Amazon
S3. The Amazon S3 bucket will server more than 300 GET requests per second.
What should be done to optimize performance? (Choose TWO)

12 / 50

An application will ingest data at a very high throughput from many sources and
must store the data in an Amazon S3 bucket. Which service would BEST
accomplish this task?

13 / 50

A legacy service has an XML-based SOAP interface. The Developer wants to
expose the functionality of the service to external clients with the Amazon API
Gateway. Which technique will accomplish this?

14 / 50

A company wants to implement a continuous integration for its workloads on
AWS. The company wants to trigger unit test in its pipeline for commits-on its
code repository, and wants to be notified of failure events in the pipeline. How can
these requirements be met?

15 / 50

A company needs to encrypt data at rest, but it wants to leverage an AWS
managed service using its own master key. Which of the following AWS service
can be used to meet these requirements?

16 / 50

A company wants to migrate its web application to AWS and leverage Auto
Scaling to handle peak workloads. The Solutions Architect determined that the
best metric for an Auto Scaling event is the number of concurrent users. Based on
this information, what should the Developer use to autoscale based on concurrent
users?

17 / 50

A Developer is creating a web application that requires authentication, but also
needs to support guest access to provide users limited access without having to
authenticate. What service can provide support for the application to allow guest
access?

18 / 50

A Developer is testing a Docker-based application that uses the AWS SDK to
interact with Amazon DynamoDB. In the local development environment, the
application has used IAM access keys. The application is now ready for
deployment onto an ECS cluster. How should the application authenticate with
AWS services in production?

19 / 50

A Developer is writing a Linux-based application to run on AWS Elastic Beanstalk.
Application requirements state that the application must maintain full capacity
during updates while minimizing cost. Which type of Elastic Beanstalk deployment
policy should the Developer specify for the environment?

20 / 50

A Developer uses AWS CodeDeploy to automate application deployment that
connects to an external MySQL database. The Developer wants to securely access
the encrypted secrets, such as API keys and database passwords. Which of the
following solutions would involve the LEAST administrative effort?

21 / 50

For a deployment using AWS CodeDeploy, what is the run order of the hooks for
in-place deployments?

22 / 50

What are the steps to using the AWS CLI to launch a templatized serverless
application?

23 / 50

An application stores images in an S3 bucket. Amazon S3 event notifications are
used to trigger a Lambda function that resizes the images. Processing each image
takes less than a second. How will AWS Lambda handle the additional traffic?

24 / 50

An application reads data from an Amazon DynamoDB table. Several times a day,
for a period of 15 seconds, the application receives multiple
ProvisionedThroughputExceeded errors. How should this exception be handled?

25 / 50

An application takes 40 seconds to process instructions received in an Amazon
SQS message. Assuming the SQS queue is configured with the default
VisibilityTimeout value, what is the BEST way, upon receiving a message, to ensure
that no other instances can retrieve a message that has already been processed or
is currently being processed?

26 / 50

A Developer has created a large Lambda function, and deployment is failing with
the following error:ClientError: An error occurred (InvalidParameterValueException)
when calling the CreateFunction operation: Unzipped size must be smaller than
XXXXXXXXX bytes', where XXXXXXXXX is the current Lambda limit. What can the
Developer do to fix this problem?

27 / 50

A current architecture uses many Lambda functions invoking one another as large
state machine. The coordination of this state machine is legacy custom code that
breaks easily. Which AWS Service can help refactor and manage the state
machine?

28 / 50

A Developer wants to use AWS X-Ray to trace a user request end-to-end
throughput the software stack. The Developer made the necessary changes in the
application tested it, and found that the application is able to send the traces to
AWS X-Ray. However, when the application is deployed to an EC2 instance, the
traces are not availableWhich of the following could create this situation? (Choose
TWO

29 / 50

Where should the appspec.yml file be placed in order for AWS CodeDeploy to
work?

30 / 50

When writing a Lambda function, what is the benefit of instantiating AWS clients
outside the scope of the handler?

31 / 50

A Developer is creating an Auto Scaling group whose instances need to publish a
custom metric to Amazon CloudWatch. Which method would be the MOST secure
way to authenticate a CloudWatch PUT request?

32 / 50

A Developer needs temporary access to resources in a second account. What is
the MOST secure way to achieve this?

33 / 50

A Developer has written a serverless application using multiple AWS services. The
business logic is written as a Lambda function which has dependencies on thirdparty libraries. The Lambda function endpoints will be exposed using Amazon API
Gateway. The Lambda function will write the information to Amazon DynamoDB.
The Developer is ready to deploy the application but must have the ability to
rollback. How can this deployment be automated, based on these requirements?

34 / 50

A Developer has an application that can upload tens of thousands of objects per
second to Amazon S3 in parallel within a single AWS account. As part of new
requirements, data stored in S3 must use server side encryption with AWS KMS
(SSE-KMS). After creating this change, performance of the application is slower.
Which of the following is MOST likely the cause of the application latency?

35 / 50

An application is designed to use Amazon SQS to manage messages from many
independent senders. Each sender's messages must be processed in the order
they are received. Which SQS feature should be implemented by the Developer?

36 / 50

An organization must store thousands of sensitive audio and video files in an
Amazon S3 bucket. Organizational security policies require that all data written to
this bucket be encrypted. How can compliance with this policy be ensured?

37 / 50

A Developer has created an S3 bucket s3://mycoolapp and has enabled server
across logging that points to the folder s3://mycoolapp/logs.The Developer
moved 100 KB of Cascading Style Sheets (CSS) documents to the folder
s3://mycoolapp/css, and then stopped work. When the developer came back a few
days later, the bucket was 50 GB. What is the MOST likely cause of this situation?

38 / 50

A Developer is developing an application that manages financial transactions. To
improve security, multi-factor authentication (MFA) will be required as part of the
login protocol. What services can the Developer use to meet these requirements?

39 / 50

A Developer is writing transactions into a DynamoDB table called 'SystemUpdates'
that has 5 write capacity units. Which option has the highest read throughput?

40 / 50

A Developer created a dashboard for an application using Amazon API Gateway,
Amazon S3, AWS Lambda, and Amazon RDS. The Developer needs an
authentication mechanism allowing a user to sign in and view the dashboard. It
must be accessible from mobile applications, desktops, and tablets, and must
remember user preferences across platforms. Which AWS service should the
Developer use to support this authentication scenario?

41 / 50

An application stops working with the following error: The specified bucket does
not exist. Where is the BEST place to start the root cause analysis?

42 / 50

A Developer is creating a Lambda function and will be using external libraries that
are not included in the standard Lambda libraries. What action would minimize the
Lambda compute time consumed?

43 / 50

A Developer is creating a mobile application with a limited budget. The solution
requires a scalable service that will enable customers to sign up and authenticate
into the mobile application while using the organization's current SAML 2.0
identity provider. Which AWS service should be used to meet these requirements?

44 / 50

A game stores user game data in an Amazon DynamoDB table. Individual users
should not have access to other users' game data. How can this be accomplished?

45 / 50

A Developer has setup an Amazon Kinesis Stream with 4 shards to ingest a
maximum of 2500 records per second. A Lambda function has been configured to
process these records. In which order will these records be processed?

46 / 50

An application has hundreds of users. Each user may use multiple devices to
access the application. The Developer wants to assign unique identifiers to these
users regardless of the device they use. Which of the following methods should be
used to obtain unique identifiers?

47 / 50

A serverless application uses an API Gateway and AWS Lambda. Where should the
Lambda function store its session information across function calls?

48 / 50

A customer wants to deploy its source code on an AWS Elastic Beanstalk
environment. The customer needs to perform deployment with minimal outage
and should only use existing instances to retain application access log. What
deployment policy would satisfy these requirements?

49 / 50

A Developer created a Lambda function for a web application backend. When
testing the Lambda function from the AWS Lambda console, the Developer can
see that the function is being executed, but there is no log data being generated
in Amazon CloudWatch Logs, even after several minutes. What could cause this
situation?

50 / 50

A Developer must re-implement the business logic for an order fulfilment system.
The business logic has to make requests to multiple vendors to decide where to
purchase an item. The whole process can take up to a week to complete. What is
the MOST efficient and SIMPLEST way to implement a system that meets these
requirements?

Your score is

0%

See also:

AWS Certified Developer Associate (50 Questions & Answers)

50 AWS Certified Developer Associate Questions

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

Leave a Comment

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

error: Content is protected !!
Scroll to Top