Special Summer Discounts Limited Time 55% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 63r59951

DVA-C01 AWS Certified Developer Associate Exam Questions and Answers

Questions 4

A developer is working on an ecommerce website. The developer wants to review server logs without logging in to each of the application servers individually. The website runs on multiple Amazon EC2 instances, is written in Python, and needs to be highly available.

How can the developer update the application to meet these requirements with MINIMUM changes?

Options:

A.

Rewrite the application to be cloud native and to run on AWS Lambda where the logs can be reviewed in Amazon CloudWatch.

B.

Set up centralized logging by using Amazon Elasticsearch Service (Amazon ES), Logstash, and Kibana

C.

Scale down the application to one larger EC2 instance where only one instance is recording logs.

D.

Install the unified Amazon CloudWatch agent on the EC2 instances. Configure the agent to push the application logs to CloudWatch.

Buy Now
Questions 5

Where should an Elastic Beanstalk configuration file named healthcheckur1.config be placed in the application source bundle?

Options:

A.

In the root of the application

B.

In the bin folder

C.

In healthcheckur1.config.ebextension under root

D.

In the .ebextensions folder

Buy Now
Questions 6

A Developer has published an update to an application that is served to a global user base using Amazon CloudFront. After deploying the application, users are not able to see the updated changes.

How can the Developer resolve this issue?

Options:

A.

Remove the origin from the CloudFront configuration and add it again.

B.

Disable forwarding of query strings and request headers from the CloudFront distribution configuration.

C.

Invalidate all the application objects from the edge caches.

D.

Disable the CloudFront distribution and enable it again to update all the edge locations.

Buy Now
Questions 7

A company is creating an application that will require users to access AWS services and allow them to reset their own passwords.

Which of the following would allow the company to manage users and authorization while allowing users to reset their own passwords?

Options:

A.

Amazon Cognito identify pools and AWS STS

B.

Amazon Cognito identity pools and AWS IAM

C.

Amazon Cognito user pools and AWS KMS

D.

Amazon Cognito user pools and identity pools

Buy Now
Questions 8

An existing serverless application processes uploaded image files. The process currently uses a single Lambda function that takes an image file, performs the processing, and stores the file in Amazon S3. Users of the application now require thumbnail generation of the images. Users want to avoid any impact to the time it takes to perform the image uploads.

How can thumbnail generation be added to the application, meeting user requirements while minimizing changes to existing code?

Options:

A.

Change the existing Lambda function handling the uploads to create thumbnails at the time of upload. Have the function store both the image and thumbnail in Amazon S3.

B.

Create a second Lambda function that handles thumbnail generation and storage. Change the existing Lambda function to invoke it asynchronously.

C.

Create an S3 event notification with a Lambda function destination. Create a new Lambda function to generate and store thumbnails.

D.

Create an S3 event notification to an SQS Queue. Create a scheduled Lambda function that processes the queue, and generates and stores thumbnails.

Buy Now
Questions 9

Which of the following services are key/value stores? Choose 3 answers

Options:

A.

Amazon ElastiCache

B.

Simple Notification Service

C.

DynamoDB

D.

Simple Workflow Service

E.

Simple Storage Service

Buy Now
Questions 10

A Development team currently supports an application that uses an in-memory store to save accumulated game results. Individual results are stored in a database. As part of migrating to AWS, the team needs to use automatic scaling. The team knows this will yield inconsistent results.

Where should the team store these accumulated game results to BEST allow for consistent results without impacting performance?

Options:

A.

Amazon S3

B.

Amazon RDS

C.

Amazon ElastiCache

D.

Amazon Kinesis

Buy Now
Questions 11

A deployment package uses the AWS CLI to copy files into any S3 bucket in the account, using access keys stored in environment variables. The package is running on EC2 instances, and the instances have been modified to run with an assumed IAM role and a more restrictive policy that allows access to only one bucket.

After the change, the Developer logs into the host and still has the ability to write into all of the S3 buckets in that account.

What is the MOST likely cause of this situation?

Options:

A.

An IAM inline policy is being used on the IAM role

B.

An IAM managed policy is being used on the IAM role

C.

The AWS CLI is corrupt and needs to be reinstalled

D.

The AWS credential provider looks for instance profile credentials last

Buy Now
Questions 12

A developer tested an application locally and then deployed it to AWS Lambda While testing the application remotely the Lambda function fails with an access denied message. How can this issue be addresksed?

Options:

A.

Update the Lambda function's execution role to include the missing permissions

B.

Update the Lambda function's resource policy to include the missing permissions

C.

Include an 1AM policy document at the root of the deployment package and redeploy the Lambda function.

D.

Redeploy the Lambda function using an account with access to the AdministratorAccess policy

Buy Now
Questions 13

Which of the following programming languages have an officially supported AWS SDK? Choose 2 answers

Options:

A.

Perl

B.

PHP

C.

Pascal

D.

Java

E.

SQL

Buy Now
Questions 14

Which code snippet below returns the URL of a load balanced web site created in CloudFormation with an AWS::ElasticLoadBalancing::LoadBalancer resource name "ElasticLoad Balancer"?

Options:

A.

"Fn::Join" : ["". [ "http:// ", {"Fn::GetAtr” : [ "ElasticLoadBalancer","DNSName"]}]]

B.

"Fn::Join" : ["". [ "http:// ", {"Fn::GetAtr” : [ "ElasticLoadBalancer","Url"]}]]

C.

"Fn::Join" : ["". [ "http:// ", {"Ref" : "ElasticLoadBalancerUrl"}]]

D.

"Fn::Join" : [".", [ "http:// ", {"Ref" : "ElasticLoadBalancerDNSName"}]]

Buy Now
Questions 15

Developer is creating an AWS Lambda function to process a stream of data from an Amazon Kinesis Data Stream. When the Lambda function parses the data and encounters a missing field, it exits the function with an error. The function is generating duplicate records from the Kinesis stream. When the Developer looks at the stream output without the Lambda function, there are no duplicate records.

What is the reason for the duplicates?

Options:

A.

The Lambda function did not advance the Kinesis stream pointer to the next record after the error.

B.

The Lambda event source used asynchronous invocation, resulting in duplicate records.

C.

The Lambda function did not handle the error, and the Lambda service attempted to reprocess the data.

D.

The Lambda function is not keeping up with the amount of data coming from the stream.

Buy Now
Questions 16

A Developer decides lo store highly secure data in Amazon S3 and wants to implement server-side encryption (SSF) with granular control of who can access the master key Company policy requires that the master key be created, rotated, and disabled easily when needed, all for security reasons.

Which solution should be used to moot these requirements?

Options:

A.

SSE with Amazon S3 managed keys (SSE-S3)

B.

SSFE with AWS KMS managed keys (SSE KMS)

C.

SSE with AWS Secrets Manager

D.

SSE with customer provided encryption keys

Buy Now
Questions 17

A developer has created a Java application that makes HTTP requests directly to AWS services. Application logging shows 5xx HTTP response codes that occ irregular intervals. The errors are affecting users.

How should the developer update the application to improve the application's resiliency?

Options:

A.

Revise the request content in the application code.

B.

Use the AWS SDK for Java to interact with AWS APIs.

C.

Scale out the application so that more instances of the application are running.

D.

Add additional logging to the application code.

Buy Now
Questions 18

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.

DVA-C01 Question 18

What two actions can be taken to improve the performance of this Lambda function without increasing the cost of the solution? (Select two.)

Options:

A.

Package only the modules the Lambda function requires

B.

Use Amazon DynamoDB instead of Amazon RDS

C.

Move the initialization of the variable Amazon RDS connection outside of the handler function

D.

Implement custom database connection pooling with the Lambda function

E.

Implement local caching of Amazon RDS data so Lambda can re-use the cache

Buy Now
Questions 19

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?

Options:

A.

Lambda will scale out to execute the requests concurrently.

B.

Lambda will handle the requests sequentially in the order received.

C.

Lambda will process multiple images in a single execution.

D.

Lambda will add more compute to each execution to reduce processing time.

Buy Now
Questions 20

A developer implemented a static website hosted in Amazon S3 that makes web service requests hosted in Amazon API Gateway AWS Lambda. The site is showing an error that reads

"No ' Access-Control-Allow Origin' header is present on the requested resource Origin 'null' is therefore not allowed access " What should the developer do to resolve this issue?

Options:

A.

Enable cross-origin resource sharing (CORS) on the S3 bucket

B.

Enable cross-origin resource sharing (CORS) for the method in API Gateway

C.

Add the Access-Control-Request-Method header to the request

D.

Add the Access-Control-Request-Headers header to the request

Buy Now
Questions 21

A company is using AWS Elastic Beanstalk to deploy a three-tier application. The application uses an Amazon RDS DB instance as the database tier. The com wants to decouple the DB instance from the Elastic Beanstalk environment.

Which combination of steps should a developer take to meet this requirement? (Select TWO.)

Options:

A.

Create a new Elastic Beanstalk environment that connects to the DB instance.

B.

Create a new DB instance from a snapshot of the previous DB instance.

C.

Use the Elastic Beanstalk CLI to decouple the DB instance.

D.

Use the AWS CLI to decouple the DB instance.

E.

Modify the current Elastic Beanstalk environment to connect to the DB instance.

Buy Now
Questions 22

An application displays a status dashboard. The status is updated by 1 KB messages from an SQS queue. Although the status changes infrequently, the Developer must minimize the time between the message arrival in the queue and the dashboard update.

What technique provides the shortest delay in updating the dashboard?

Options:

A.

Retrieve the messages from the queue using long polling every 20 seconds.

B.

Reduce the size of the messages by compressing them before sending.

C.

Retrieve the messages from the queue using short polling every 10 seconds.

D.

Reduce the size of each message payload by sending it in two parts.

Buy Now
Questions 23

A Developer is writing transactions into a DynamoDB table called “SystemUpdates” that has 5 write capacity units.

Which option has the highest read throughput?

Options:

A.

Eventually consistent reads of 5 read capacity units reading items that are 4 KB in size

B.

Strongly consistent reads of 5 read capacity units reading items that are 4 KB in size

C.

Eventually consistent reads of 15 read capacity units reading items that are 1 KB in size

D.

Strongly consistent reads of 15 read capacity units reading items that are 1 KB in size

Buy Now
Questions 24

A company needs to ingest terabytes of data each hour from thousands of sources that are delivered almost continually throughout the day. The volume of messages generated varies over the course of the day. Messages must be delivered in real time for fraud detection and live operational dashboards.

Which approach will meet these requirements?

Options:

A.

Send the messages to an Amazon SQS queue, then process the messages by using a fleet of Amazon EC2 instances

B.

Use the Amazon S3 API to write messages to an S3 bucket, then process the messages by using Amazon Redshift

C.

Use AWS Data Pipeline to automate the movement and transformation of data

D.

Use Amazon Kinesis Data Streams with Kinesis Client Library to ingest and deliver messages

Buy Now
Questions 25

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?

Options:

A.

Create multiple prefix in the S3 bucket to increase the request rate

B.

Create an Amazon ElastiCache cluster to cache and serve frequently accessed items.

C.

Use Amazon CloudFront to serve the content of images stored in Amazon S3.

D.

Submit a ticket to AWS support to request a rate limit increase for the S3 bucket.

Buy Now
Questions 26

An application running on multiple Amazon EC2 instances pulls messages ...SQS queue. A requirement for the application is that all messages must be encrypted at rest.

Developers are instructed to use methods that allow for centralized .. possible support requirements whenever possible.

Which of the following solution supports these requirements?

Options:

A.

Encrypt individual messages by using client-side encryption with customer managed keys, then write to the SQS queue.

B.

Encrypt individual messages by using SQS Extended Client and the Amazon S3 encryption client.

C.

Create an SQS queue, and encrypt the queue by using server-side encryption with AWS KMS

D.

Create an SQS queue and encrypt the queue by using client-side encryption

Buy Now
Questions 27

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?

Options:

A.

Periodically send the thread count to AWS X-Ray segments, then generate a service graph on demand

B.

Create a custom Amazon CloudWatch metric and periodically perform a PutMetricData call with the current thread count.

C.

Periodically log thread count data to Amazon S3. Use Amazon Kinesis to process the data into a graph.

D.

Periodically write the current thread count to a table using Amazon DynarnoDB and use Amazon CloudFront to create a graph

Buy Now
Questions 28

You are inserting 1000 new items every second in a DynamoDB table. Once an hour these items are analyzed and then are no longer needed. You need to minimize provisioned throughput, storage, and API calls.

Given these requirements, what is the most efficient way to manage these Items after the analysis?

Options:

A.

Retain the items in a single table

B.

Delete items individually over a 24 hour period

C.

Delete the table and create a new table per hour

D.

Create a new table per hour

Buy Now
Questions 29

A developer is planning to use an Amazon API Gateway and AWS Lambda to provide a REST API The developer will have three distinct environments to manage development, test, and production. How should the application be deployed while minimizing the number of resources to manage?

Options:

A.

Create a separate API Gateway and separate Lambda function for each environment in the same Region

B.

Assign a Region for each environment and deploy API Gateway and Lambda to each Region

C.

Create one API Gateway with multiple stages with one Lambda function with multiple aliases.

D.

Create one API Gateway and one Lambda function, and use a REST parameter to identify tne environment.

Buy Now
Questions 30

A company is migrating a single-server, on-premises web application to AWS. The company intends to use multiple servers behind an Elastic Load Balancer (ELB) to balance the load, and will also store session data in memory on the web server. The company does not want to lose that session data if a server fails or goes offline, and it wants to minimize user’s downtime.

Where should the company move session data to MOST effectively reduce downtime and make users’ session data more fault tolerant?

Options:

A.

An Amazon ElastiCache for Redis cluster

B.

A second Amazon EBS volume

C.

The web server’s primary disk

D.

An Amazon EC2 instance dedicated to session data

Buy Now
Questions 31

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?

Options:

A.

Change the application to use an alias that points to the current version Deploy the new version of the code Update the alias to use the newly deployed version. If too many errors are encountered, point the alias back to the previous version

B.

Change the application to use an alias that points to the current version Deploy the new version of the code. Update the alias to direct 10% of users to the newly deployed version. If too many errors are encountered, send 100% of traffic to the previous version

C.

Do not make any changes to the application Deploy the new version of the code. If too many errors are encountered, point the application back to the previous version using the version number in the Amazon Resource Name (ARN)

D.

Create three aliases: new, existing, and router Point the existing alias to the current version Have the router alias direct 100% of users to the existing alias Update the application to use the router alias Deploy the new version of the code Point the new alias to this version Update the router alias to direct 10% of users to the new alias If too many errors are encountered, send 100% of traffic to the existing alias

Buy Now
Questions 32

Your application is trying to upload a 6 GB file to Simple Storage Service and receive a “Your proposed upload exceeds the maximum allowed object size." error message.

What is a possible solution for this?

Options:

A.

None, Simple Storage Service objects are limited to 5 GB

B.

Use the multi-part upload API for this object

C.

Use the large object upload API for this object

D.

Contact support to increase your object size limit

E.

Upload to a different region

Buy Now
Questions 33

A Developer writes an AWS Lambda function and uploads the code in a .ZIP file to Amazon S3. The Developer makes changes to the code and uploads a new .ZIP file to Amazon S3. However, Lambda executes the earlier code.

How can the Developer fix this in the LEAST disruptive way?

Options:

A.

Create another Lambda function and specify the new .ZIP file.

B.

Call the update-function-code API.

C.

Remove the earlier .ZIP file first, then add the new .ZIP file.

D.

Call the create-alias API.

Buy Now
Questions 34

A company has an internet-facing application that uses Web Identity Federation to obtain a temporary credential from AWS Security Token Service (AWS STS). The app then uses the token to access AWS services.

Review the following response:

DVA-C01 Question 34

Based on the response displayed what permissions are associated with the call from the application?

Options:

A.

Permissions associated with the role AROACLKWSDQRAOEXAMPLE:app1

B.

Permissions associated with the default role used when the AWS service was built

C.

Permission associated with the IAM principal that owns the AccessKeyID ASgeIAIOSFODNN7EXAMPLE

D.

Permissions associated with the account that owns the AWS service

Buy Now
Questions 35

An application contains two components one component to handle HI IP requests, and another component to handle background processing tasks Bach 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?

Options:

A.

Deploy the application in a single Elastic Beanstalk environment

B.

Deploy each component in a separate Elastic Beanstalk environment

C.

Use multiple Elastic Beanstalk environments for the HTTP component but one environment for the background task component

D.

Use multiple Elastic Beanstalk environments for the background task component but one environment tor the HTTP component

Buy Now
Questions 36

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.)

Options:

A.

Package the application code into a .zip file, and upload, then deploy the packaged application from the AWS Management Console

B.

Package the application code into a .tar file, create a new application version from the AWS Management Console, then update the environment by using AWS CLI

C.

Package the application code into a .tar file, and upload and deploy the packaged application from the AWS Management Console

D.

Package the application code into a .zip file, create a new application version from the packaged application by using AWS CLI, then update the environment by using AWS CLI

E.

Package the application code into a .zip file, create a new application version from the AWS Management Console, then rebuild the environment by using AWS CLI

Buy Now
Questions 37

Which DynamoDB limits can be raised by contacting AWS support? Choose 2 answers

Options:

A.

The number of hash keys per account

B.

The maximum storage used per account

C.

The number of tables per account

D.

The number of local secondary indexes per account

E.

The number of provisioned throughput units per account

Buy Now
Questions 38

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?

Options:

A.

Use AWS Step Functions to execute parallel Lambda functions, and join the results.

B.

Create an AWS SQS for each vendor, poll the queue from a worker instance, and joint the results.

C.

Use AWS Lambda to asynchronously call a Lambda function for each vendor, and join the results.

D.

Use Amazon CloudWatch Events to orchestrate the Lambda functions.

Buy Now
Questions 39

EC2 instances are launched from Amazon Machine images (AMIs). A given public AMI can:

Options:

A.

be used to launch EC2 Instances in any AWS region.

B.

only be used to launch EC2 instances in the same country as the AMI is stored.

C.

only be used to launch EC2 instances in the same AWS region as the AMI is stored.

D.

only be used to launch EC2 instances in the same AWS availability zone as the AMI is stored

Buy Now
Questions 40

A developer wants to secure sensitive configuration date such as passwords, database strings, and application license codes. Access to this sensitive information must be tracked for future audit purposes.

Options:

A.

In an encrypted file on the source code bundle; grant the application access with Amazon IAM

B.

In the Amazon EC2 Systems Manager Parameter Store; grant the application access with IAM

C.

On an Amazon EBS encrypted volume attach the volume to an Amazon EC2 instance to access the data

D.

As on object in on Amazon S3 bucket, grant on Amazon EC2 instance access with on IAM rob.

Buy Now
Questions 41

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?

Options:

A.

AWS Lambda

B.

Amazon Cognito

C.

AWS IAM

D.

Amazon EC2

Buy Now
Questions 42

company needs a fully-managed source control service that will work in AWS. The service must ensure that revision control synchronizes multiple distributed repositories by exchanging sets of changes peer-to-peer. All users need to work productively even when not connected to a network.

Which source control service should be used?

Options:

A.

Subversion

B.

AWS CodeBuild

C.

AWS CodeCommit

D.

AWS CodeStar

Buy Now
Questions 43

A developer at a company writes an AWS ClojdForination template. The template refers to subnets that were created by a separate AWS Cloud Formation template that the company's network team wrote. When the developer attempts to launch the stack for the first time, the launch fails.

Which template coding mistakes could have caused this failure? (Select TWO.)

Options:

A.

The developer's template does not use the Ref intrinsic function to refer to the subnets

B.

The developer's template does not use the ImportValue intrinsic function to refer to the subnets

C.

The Mappings section of the developer's template does not refer to the subnets.

D.

The network team's template does not export the subnets in the Outputs section

E.

The network team's template does not export the subnets in the Mappings section

Buy Now
Questions 44

In a multi-container Docker environment in AWS Elastic Beanstalk, what is required to configure container instances in the environment?

Options:

A.

An Amazon ECS task definition

B.

An Amazon ECS cluster

C.

A Docker in an application package

D.

A CLI for Elastic Beanstalk

Buy Now
Questions 45

A Developer is storing sensitive documents in Amazon S3 that will require encryption at rest. The encryption keys must be rotated annually, at least.

What is the easiest way to achieve this?

Options:

A.

Encrypt the data before sending it to Amazon S3

B.

Import a custom key into AWS KMS with annual rotation enabled

C.

Use AWS KMS with automatic key rotation

D.

Export a key from AWS KMS to encrypt the data

Buy Now
Questions 46

A Developer is migrating an on-premises application to AWS. The application currently takes user uploads and saves them to a local directory on the server. All uploads must be saved and made immediately available to all instances in an Auto scaling group.

Which approach will meet these requirements?

Options:

A.

Use Amazon EBS and configure the application AMI to use a snapshot of the same EBS instance on boot.

B.

Use Amazon S3 and rearchitect the application so all uploads are placed in S3.

C.

Use instance storage and share it between instances launched from the same Amazon machine image (AMI).

D.

Use Amazon EBS and file synchronization software to achieve eventual consistency among the auto scaling group.

Buy Now
Questions 47

A development team is using AWS Elastic Beanstalk to deploy a two-tier application that consists of a load-balanced web tier and an Amazon RDS database tier in production. The team would like to separate the RDS instance from the Elastic Beanstalk.

How can this be accomplished?

Options:

A.

Use the Elastic Beanstalk CLI to disassociate the database.

B.

Use the AWS CLI to disassociate the database.

C.

Change the deployment policy to disassociate the database.

D.

Recreate a new Elastic Beanstalk environment without Amazon RDS.

Buy Now
Questions 48

A developer is working on a Python application that runs on Amazon EC2 instances. The developer wants to enable tracing of application requests to debug performance issues in the code.

Which combination of actions should the developer take to achieve this goal? (Select TWO.)

Options:

A.

Install the Amazon CloudWatch agent on the EC2 instances.

B.

Install the AWS X-Ray daemon on the EC2 instances

C.

Configure the application to write JSON-formatted logs to /var/log/cloudwatch.

D.

Configure the application to write trace data to /var/log/xray.

E.

Install and configure the AWS X-Ray SDK for Python in the application.

Buy Now
Questions 49

A Developer must analyze performance issues with production-distributed applications written as AWS Lambda functions. These distributed Lambda applications invoke other components that make up the applications.

How should the Developer identify and troubleshoot the root cause of the performance issues in production?

Options:

A.

Add logging statements to the Lambda functions, then use Amazon CloudWatch to view the logs.

B.

Use AWS Cloud Trail and then examine the logs

C.

Use AWS X-Ray, then examine the segments and errors

D.

Run Amazon Inspector agents and then analyze performance

Buy Now
Questions 50

What type of block cipher does Amazon S3 offer for server side encryption?

Options:

A.

Triple DES

B.

Advanced Encryption Standard

C.

Blowfish

D.

RC5

Buy Now
Questions 51

A developer is receiving an intermittent ProvisionedThroughputExceededException error from an application that is based on Amazon DynamoDB. According to the Amazon CloudWatch metrics for the table, the application is not exceeding the provisioned throughput

What could be the cause of the issue?

Options:

A.

The DynamoDB table storage size is larger than the provisioned size.

B.

The application is exceeding capacity on a particular hash key.

C.

The DynamoDB table is exceeding the provisioned scaling operations.

D.

The application is exceeding capacity on a particular sort key.

Buy Now
Questions 52

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?

Options:

A.

Immutable

B.

Rolling

C.

All at Once

D.

Rolling with additional batch

Buy Now
Questions 53

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?

Options:

A.

Rolling

B.

All at once

C.

Rolling with an additional batch

D.

Immutable

Buy Now
Questions 54

A company has three AWS Lambda functions that are written in Node js The Lambda functions include a mix of custom code and open-source modules When bugs are occasionally detected in the open-source modules, all three Lambda functions must be patched.

What is the MOST operationally efficient solution to deploy a patched open-source library for all three Lambda functions?

Options:

A.

Create a custom AWS CloudFormation public registry extension Reference a GitHub repository that hosts the open-source modules m the extension Configure Formation to scan the repository once each day Write an AWS Serverless Application Model (AWS SAM) template to redeploy the three Lambda functions upon a scan notification change.

B.

Create an Amazon CloudFront distribution with an Amazon S3 bucket as the origin Upload the patched modules to Amazon S3 when needed Modify each Lambda function to download the patched modules from the CloudFront distribution during the cold start.

C.

Launch an Amazon EC2 instance Host a private open-source module registry on the EC2 instance Upload the modified open-source modules to the private registry when needed. Modify each Lambda function deployment script to download the modules from the private registry Redeploy the three new Lambda functions.

D.

Create a Lambda layer with the open-source modules Modify all three Lambda functions to depend on the layer Remove the open-source modules from each Lambda function Patch the Lambda layer with the modified open-source modules when needed Update the Lambda functions to reference the new layer version

Buy Now
Questions 55

A developer is writing an application in AWS Lambda To simplify testing and deployments, the developer needs the database connection string to be easily changed without modifying the Lambda code.

How can this requirement be met?

Options:

A.

Store the connection string as a secret in AWS Secrets Manager

B.

Store the connection string in an IAM user account.

C.

Store the connection string in AWS KMS

D.

Store the connection string as a Lambda layer.

Buy Now
Questions 56

Company A has an S3 bucket containing premier content that they intend to make available to only paid subscribers of their website. The S3 bucket currently has default permissions of all objects being private to prevent inadvertent exposure of the premier content to non-paying website visitors.

How can Company A provide only paid subscribers the ability to download a premier content file in the S3 bucket?

Options:

A.

Apply a bucket policy that grants anonymous users to download the content from the S3 bucket

B.

Generate a pre-signed object URL for the premier content file when a paid subscriber requests a download

C.

Add a bucket policy that requires Multi-Factor Authentication for requests to access the S3 bucket objects

D.

Enable server-side encryption on the S3 bucket for data protection against the non-paying website visitors

Buy Now
Questions 57

n application running on an Amazon Linux EC2 instance needs to manage the AWS infrastructure.

How can the EC2 instance be configured to make AWS API calls securely?

Options:

A.

Sign the AWS CLI command using the signature version 4 process.

B.

Run the aws configure AWS CLI command and specify the access key id and secret access key.

C.

Specify a role for the EC2 instance with the necessary privileges.

D.

Pass the access key id and secret access key as parameters for each AWS CLI command.

Buy Now
Questions 58

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

Options:

A.

Use AWS CloudFormation get-template then CloudFormation execute-change-set.

B.

Use AWS CloudFormation validate-template then CloudFormation create-change-set.

C.

Use AWS CloudFormation package then CloudFormation deploy.

D.

Use AWS CloudFormation create-stack then CloudFormation update-stack.

Buy Now
Questions 59

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?

Options:

A.

Amazon SNS with fanout to an SQS queue for each application

B.

Amazon SNS with fanout to an SQS FIFO (first-in, firtst-out) queue for each application

C.

Amazon Kinesis Firehouse

D.

Amazon Kinesis Streams

Buy Now
Questions 60

A company is running an application on AWS Elastic Beanstalk in a single-instance environment. The company's deployments must avoid any downtime. Which deployment option will meet these requirements?

Options:

A.

All at once

B.

Rolling

C.

Rolling with additional batch

D.

Immutable

Buy Now
Questions 61

Which statements about DynamoDB are true? Choose 2 answers

Options:

A.

DynamoDB uses a pessimistic locking model

B.

DynamoDB uses optimistic concurrency control

C.

DynamoDB uses conditional writes for consistency

D.

DynamoDB restricts item access during reads

E.

DynamoDB restricts item access during writes

Buy Now
Questions 62

A Developer wants to enable AWS X-Ray for a secure application that runs in an Amazon ECS environment.

What combination of steps will enable X-Ray? (Select THREE.)

Options:

A.

Create a Docker image that runs the X-Ray daemon.

B.

Add instrumentation to the application code for X-Ray.

C.

Install the X-Ray daemon on the underlying EC2 instance.

D.

Configure and use an IAM EC2 instance role.

E.

Register the application with X-Ray.

F.

Configure and use an IAM role for tasks.

Buy Now
Questions 63

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?

Options:

A.

Create a single API Gateway with all three stages.

B.

Create three API Gateways, one for each stage in a single AWS account.

C.

Create an API Gateway in three separate AWS accounts.

D.

Enable the cache for development and test environments only when needed.

Buy Now
Questions 64

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?

Options:

A.

Encrypt the game data with individual user keys.

B.

Restrict access to specific items based on certain primary key values.

C.

Stage data in SQS queues to inject metadata before accessing DynamoDB.

D.

Read records from DynamoDB and discard irrelevant data client-side.

Buy Now
Questions 65

A developer has written an application that runs on Amazon EC2 instances. The developer is adding functionality for the application to write objects to an Amazon S3 bucket Which policy must the developer modify to allow the instances to write these objects?

Options:

A.

The 1AM policy that is attached to the EC2 instance profile role

B.

The session policy that is applied to the EC2 instance role session

C.

The AWS Key Management Service (AWS KMS) key policy that is attached to the EC2 instance profile role.

D.

The Amazon VPC endpoint policy

Buy Now
Questions 66

A developer has written a serverless application and wants to deploy it to AWS Lambda to leverage the function's multi-threaded execution to improve performance. Which action should the developer take to achieve these requirements?

Options:

A.

increase the Lambda function execution timeout

B.

Use unreserved account concurrency.

C.

Increase the memory allocation of the Lambda function

D.

Set the reserved concurrency of the Lambda function to a higher number

Buy Now
Questions 67

A company is using Amazon RDS MySQL instances for its application database tier and Apache Tomcat servers for its web tier. Most of the database queries from web applications are repeated read requests.

Use of which AWS service would increase in performance by adding in-memory store for repeated read queries?

Options:

A.

Amazon RDS Multi-AZ

B.

Amazon SQS

C.

Amazon ElastiCache

D.

Amazon RDS read replica

Buy Now
Questions 68

A company needs to distribute firmware updates to its customers around the world.

Which service will allow easy and secure control of the access to the downloads at the lowest cost?

Options:

A.

Use Amazon CloudFront with signed URLs for Amazon S3

B.

Create a dedicated Amazon CloudFront Distribution for each customer

C.

Use Amazon CloudFront with AWS Lambda@Edge

D.

Use Amazon API Gateway and AWS Lambda to control access to an S3 bucket

Buy Now
Questions 69

A Developer has created a Lambda function and is finding that the function is taking longer to complete than expected. After some debugging, the Developer has discovered that increasing compute capacity would improve performance.

How can the Developer increase the Lambda compute resources?

Options:

A.

Run on a larger instance size with more compute capacity.

B.

Increase the maximum execution time.

C.

Specify a larger compute capacity when calling the Lambda function.

D.

Increase the allocated memory for the Lambda function.

Buy Now
Questions 70

A developer Is working with a Docker application that needs to be quickly deployed using AWS without changing the infrastructure or configuring health checks. The application should be configured so that changes and updates can be made automatically without any downtime

Which solution will meet these requirements?

Options:

A.

Use AWS Elastic Beanstalk for application deployment and select an all-at-once update policy.

B.

Use AWS Elastic Beanstalk for application deployment and select a rolling deployment policy.

C.

Deploy the Docker container on an Amazon EC2 instance in an Auto Scaling group and configure a health check on the EC2 instance

D.

Deploy the Docker container using AWS Lambda and enable Amazon CloudWatch monitoring

Buy Now
Questions 71

Company C has recently launched an online commerce site for bicycles on AWS. They have a "Product" DynamoDB table that stores details for each bicycle, such as, manufacturer, color, price, quantity and size to display in the online store. Due to customer demand, they want to include an image for each bicycle along with the existing details.

Which approach below provides the least impact to provisioned throughput on the "Product" table?

Options:

A.

Serialize the image and store it in multiple DynamoDB tables

B.

Create an "Images" DynamoDB table to store the Image with a foreign key constraint to the "Product” table

C.

Add an image data type to the "Product" table to store the images in binary format

D.

Store the images in Amazon S3 and add an S3 URL pointer to the "Product" table item for each image

Buy Now
Questions 72

n on-premises application makes repeated calls to store files to Amazon S3. As usage of the application has increased, “LimitExceeded” errors are being logged.

What should be changed to fix this error?

Options:

A.

Implement exponential backoffs in the application.

B.

Load balance the application to multiple servers.

C.

Move the application to Amazon EC2.

D.

Add a one second delay to each API call.

Buy Now
Questions 73

A developer has a legacy application that is hosted on-premises Other applications hosted on AWS depend on the on-premises application for proper functioning In case of any application errors, the developer wants to be able to use Amazon CloudWatch to monitor and troubleshoot all applications from one place.

How can the developer accomplish this?

Options:

A.

Install an AWS SDK on the on-premises server to automatically send logs to CloudWatch .

B.

Download the CloudWatch agent to the on-premises server Configure the agent to use IAM user credentials with permissions for CloudWatch

C.

Upload log files from the on-premises server to Amazon S3 and have CloudWatch read the files

D.

Upload log files from the on-premises server to an Amazon EC2 instance and have the instance forward the logs to CloudWatch.

Buy Now
Questions 74

A company has an online order website that uses Amazon DynamoDB to store item inventory. A sample of the inventory object is as follows:

DVA-C01 Question 74

A developer needs to reduce all inventory prices by 100 as long as the resulting price would not be less than 500. What should the developer do to make this change with the LEAST number of calls to DynamoDB?

Options:

A.

Perform a DynamoDB Query operation with the Id. If the price is >= 600, perform an Updateltem operation to update the price.

B.

Perform a DynamoDB Updateltem operation with a condition expression of "Price >= 600".

C.

Perform a DynamoDB Updateltem operation with a condition expression of "ProductCategory IN <{"S": "Sporting Goods"}) and Price = 600".

Buy Now
Questions 75

A developer has created a Node js web application on a local development machine. The developer wants to use AWS technology to host the website. The developer needs a solution that requires the least possible operational overhead and no code changes.

Which AWS service should the developer use to meet these requirements?

Options:

A.

AWS Elastic Beanstalk

B.

Amazon EC2

C.

AWS Lambda

D.

Amazon Elastic Kubernetes Service (Amazon EKS)

Buy Now
Questions 76

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

Options:

A.

Before Install -> Application Stop -> Application Start -> After Install

B.

Application Stop -> Before Install -> After Install -> Application Start

C.

Before Install -> Application Stop -> Validate Service -> Application Start

D.

Application Stop -> Before Install -> Validate Service -> Application Start

Buy Now
Questions 77

A company maintains an application responsible for processing several thousand external callbacks each day. The company’s System administrators want to know how many callbacks are being received on a rolling basis, and they want this data available for 10 days. The company also wants the ability to issue automated alerts if the number of callbacks exceeds the defined thresholds.

What is the MOST cost-effective way to address the need to track and alert on these statistics?

Options:

A.

Push callback data to an Amazon RDS database that can be queried to show historical data and to alert on exceeded thresholds.

B.

Push callback data to AWS X-Ray and use AWS Lambda to query, display, and alert on exceeded thresholds.

C.

Push callback data to Amazon Kinesis Data Streams and invoke an AWS Lambda function that stores data in Amazon DynamoDB and sends the required alerts.

D.

Push callback data to Amazon CloudWatch as a custom metric and use the CloudWatch alerting mechanisms to alert System Administrators.

Buy Now
Questions 78

A company has a serverless application that uses AWS Lambda functions and AWS Systems Manager parameters to store configuration data. The company....... the Lambda functions inside the VPC and into private subnets. The Lambda functions are now producing errors in their attempts to access Systems Manager parameters.

Which solution will allow the Lambda functions to access Systems Manager parameters inside the VPC?

Options:

A.

Configure security groups to allow access to Systems Manager.

B.

Create an interface VPC endpoint for Systems Manager.

C.

Use an internet gateway from inside the VPC.

D.

Create a gateway VPC endpoint for Systems Manager.

Buy Now
Questions 79

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?

Options:

A.

Install the dependencies and external libraries at the beginning of the Lambda function.

B.

Create a Lambda deployment package that includes the external libraries.

C.

Copy the external libraries to Amazon S3, and reference the external libraries to the S3 location.

D.

Install the external libraries in Lambda to be available to all Lambda functions.

Buy Now
Questions 80

A developer is migrating a Windows-based legacy application from on premises to AWS. The application will run on Amazon EC2 instances that run Amazon Linux. The application stores a large number of files in an NFS drive. The migration solution must minimize downtime and application code changes.

Which solution should the developer use to migrate the application data?

Options:

A.

Create an Amazon S3 bucket. Use the s3 sync command to upload the files to the S3 bucket.

B.

Create an Amazon Elastic Block Store (Amazon E8S) volume. Upload the files to the volume. Attach the volume to the EC2 instances.

C.

Create an Amazon Elastic File System (Amazon EFS) file system. Use AWS DataSync to transfer the files to Amazon EFS.

D.

Create an Amazon Elastic File System (Amazon EFS) file system. Mount the EFS file system from the legacy application. Copy the files to the EFS mount.

Buy Now
Exam Code: DVA-C01
Exam Name: AWS Certified Developer Associate Exam
Last Update: Aug 10, 2022
Questions: 537

PDF + Testing Engine

$79.2  $175.99

Testing Engine

$59.4  $131.99
buy now DVA-C01 testing engine

PDF (Q&A)

$49.5  $109.99
buy now DVA-C01 pdf