Winter Sale - Limited Time 55% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 5763r953

Welcome To DumpsPedia

DVA-C01 Sample Questions Answers

Questions 4

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?

Options:

A.

Configure an ECS task IAM role for the application to use

B.

Refactor the application to call AWS STS AssumeRole based on an instance role

C.

Configure AWS access key/secret access key environment variables with new credentials

D.

Configure the credentials file with a new access key/secret access key

Buy Now
Questions 5

A Developer is working on an application that tracks hundreds of millions of product reviews in an Amazon DynamoDB table. The records include the data elements shown in the table:

Which field, when used as the partition key, would result in the MOST consistent performance using

DynamoDB?

Options:

A.

starRating

B.

reviewID

C.

comment

D.

productID

Buy Now
Questions 6

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 7

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 me developer to perform a code push efficiently, without the need to update the API Gateway?

Options:

A.

Associate different AWS Lambda functions to an API Gateway target endpoint

B.

Create different stages in API Gateway, then associate API Gateway with aws Lambda

C.

Create aliases and versions In AWS Lambda.

D.

Tag the AWS Lambda functions with different names

Buy Now
Questions 8

A company is using AWS CodePipeline to deliver one of its applications. The delivery pipeline is triggered by changes to the master branch of an AWS CodeCommit repository and uses AWS CodeBuild to implement the test and build stages of the process and AWS CodeDeploy to deploy the application.

The pipeline has been operating successfully for several months and there have been no modifications. Following a recent change to the application’s source code, AWS CodeDeploy has not deployed the updates application as expected.

What are the possible causes? (Choose two.)

Options:

A.

The change was not made in the master branch of the AWS CodeCommit repository.

B.

One of the earlier stages in the pipeline failed and the pipeline has terminated.

C.

One of the Amazon EC2 instances in the company’s AWS CodePipeline cluster is inactive.

D.

The AWS CodePipeline is incorrectly configured and is not executing AWS CodeDeploy.

E.

AWS CodePipeline does not have permissions to access AWS CodeCommit.

Buy Now
Questions 9

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 10

A developer is implementing authentication and authorization for an application. The developer needs to ensure that the user credentials are never exposed. Which approach should the developer take to meet this requirement?

Options:

A.

Store the user credentials In Amazon DynamoDB Build an AWS Lambda function to validate the credentials and authorize users

B.

Deploy a custom authentication and authorization API on an Amazon EC2 instance. Store the user credentials in Amazon S3 and encrypt the credentials using Amazon S3 server-side encryption.

C.

Use Amazon Cognito to configure a user pool, and use the Cognito API to authenticate and authorize the users.

D.

Store the user credentials In Amazon RDS Enable the encryption option for the Amazon RDS D8 instances Build an API using AWS Lambda to validate the credentials and authorize users

Buy Now
Questions 11

A Developer has a stateful web server on-premises that is being migrated to AWS. The Developer must have greater elasticity in the new design.

How should the Developer re-factor the application to make it more elastic? (Choose two.)

Options:

A.

Use pessimistic concurrency on Amazon DynamoDB

B.

Use Amazon CloudFront with an Auto Scaling group

C.

Use Amazon CloudFront with an AWS Web Application Firewall

D.

Store session state data in an Amazon DynamoDB table

E.

Use an ELB with an Auto Scaling group

Buy Now
Questions 12

An application stores payroll information nightly in DynamoDB for a large number of employees across hundreds of offices. Item attributes consist of individual name, office identifier, and cumulative daily hours. Managers run reports for ranges of names working in their office. One query is. "Return all Items in this office for names starting with A through E".

Which table configuration will result in the lowest impact on provisioned throughput for this query?

Options:

A.

Configure the table to have a hash index on the name attribute, and a range index on the office identifier

B.

Configure the table to have a range index on the name attribute, and a hash index on the office identifier

C.

Configure a hash index on the name attribute and no range index

D.

Configure a hash index on the office Identifier attribute and no range index

Buy Now
Questions 13

You have an environment that consists of a public subnet using Amazon VPC and 3 instances that are running in this subnet. These three instances can successfully communicate with other hosts on the Internet. You launch a fourth instance in the same subnet, using the same AMI and security group configuration you used for the others, but find that this instance cannot be accessed from the Internet.

What should you do to enable internet access?

Options:

A.

Deploy a NAT instance into the public subnet.

B.

Modify the routing table for the public subnet

C.

Configure a publically routable IP Address In the host OS of the fourth instance.

D.

Assign an Elastic IP address to the fourth instance.

Buy Now
Questions 14

Amazon S3 has the following structure: S3://BUCKET/FOLDERNAME/FILENAME.zip

Which S3 best practice would optimize performance with thousands of PUT request each second to a single bucket?

Options:

A.

Prefix folder names with user id; for example, s3://BUCKET/2013-FOLDERNAME/FILENAME.zip

B.

Prefix file names with timestamps; for example, s3://BUCKET/FOLDERNAME/2013-26-05-15-00-00- FILENAME.zip

C.

Prefix file names with random hex hashes; for example, s3://BUCKET/FOLDERNAME/23a6- FILENAME.zip

D.

Prefix folder names with random hex hashes; for example, s3://BUCKET/23a6-FOLDERNAME/

FILENAME.zip

Buy Now
Questions 15

A developer is changing the configuration for a CPU-intensive AWS Lambda function that runs once an hour. The function usually takes 45 seconds to run, but sometimes the run time is up to 1 minute. The timeout parameter is set to 3 minutes, and all other parameters are set to default.

The developer needs to optimize the run time of this function.

Which solution will meet this requirement?

Options:

A.

Redeploy the function within the default VPC

B.

Increase the function's memory.

C.

Redeploy the function by using Lambda layers

D.

Increase the function's reserved concurrency

Buy Now
Questions 16

A company is creating a REST service using an Amazon API Gateway with AWS Lambda integration. The service must run different versions for testing purposes.

What would be the BEST way to accomplish this?

Options:

A.

Use an X-Version header to denote which version is being called and pass that header to the Lambda function(s)

B.

Create an API Gateway Lambda authorizer to route API clients to the correct API version

C.

Create an API Gateway resource policy to isolate versions and provide context to the Lambda function(s)

D.

Deploy the API versions as unique stages with unique endpoints and use stage variables to provide further context

Buy Now
Questions 17

A developer is trying to get data from an Amazon DynamoDB table called demoman-table The developer configured the AWS CLI to use a specific 1AM user's credentials and executed the following command:

aws dynamodb get-item table-name demoman-table --key '("id": <"N''; ''1993''}} '

The command returned errors and no rows were returned

What is the MOST likely cause of these issues?

Options:

A.

The command is incorrect; it should be rewritten to use : ut-i t am with a string argument.

B.

The developer needs to log a ticket with AWS Support to enable access to the demoman-table.

C.

Amazon DynamoDB cannot be accessed from the AWS CLI and needs to be called via the REST API

D.

The 1AM user needs an associated policy with read access to demoman-table.

Buy Now
Questions 18

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 19

A developer is creating an event handling system. To handle messages asynchronously, the developer created a standard Amazon SQS queue Quality assurance testing reveals that some events were processed multiple times.

What is the recommended way to ensure the events are not processed more than once?

Options:

A.

Change long polling to short polling.

B.

Use a FIFO queue and configure deduplication

C.

Convert the standard SQS queue into a FIFO queue

D.

Send the messages with message timers

Buy Now
Questions 20

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

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 21

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?

Options:

A.

Use AWS VM Import to migrate a web server image to AWS Launch the image on a compute-optimized Amazon EC2 instanceLaunch.

B.

Launch multiple Amazon Lighsall instance behind a load balancer. Set up the website on those instances.

C.

Deploy the website code in an AWS Elastic Beanstalk environment. Use Auto Scaling to scale the numbers of instance

D.

Use Amazon S3 to host the website. Use Amazon CloudFornt to deliver the content at scale.

Buy Now
Questions 22

To include objects defined by the AWS Serverless Application Model (SAM) in an AWS CloudFormation template, in addition to Resources, what section MUST be included in the document root?

Options:

A.

Conditions

B.

Globals

C.

Transform

D.

Properties

Buy Now
Questions 23

If a message is retrieved from a queue in Amazon SQS, how long is the message inaccessible to other users by default?

Options:

A.

0 seconds

B.

1 hour

C.

1 day

D.

forever

E.

30 seconds

Buy Now
Questions 24

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 25

How does Envelope Encryption work in AWS KMS?

Options:

A.

The Customer Master Key is used to encrypidecrypt a data key The Plaintext Data Key is used to encrypt customer data.

B.

Two encryption keys are used The Customer Master Key encrypts customer data. The Data Key is used to re-encrypt the encrypted data.

C.

Two encryption keys are used The Data Key encrypts customer data The Customer Master Key is used to re-encrypt the encrypted data

D.

The Customer Master Key is used to encrypt'decrypt a data key. The Encrypted Data Key is used to encrypt customer data.

Buy Now
Questions 26

Which EC2 API call would you use to retrieve a list of Amazon Machine Images (AMIs)?

Options:

A.

DescnbeInstances

B.

DescribeAMls

C.

DescribeImages

D.

GetAMls

E.

You cannot retrieve a list of AMIs as there are over 10,000 AMIs

Buy Now
Questions 27

A developer has created an AWS Lambda function that is written in Python The Lambda function reads data from objects in Amazon S3 and writes data to an Amazon DynamoDB table

The function is successfully invoked from an S3 event notification when an object is created However, the function fails when if attempts to write to the DynamoDB table

What is the MOST likely cause of this issue?

Options:

A.

The Lambda function's concurrency limit has been exceeded

B.

The DynamoDB table requires a global secondary index (GSI) to support writes.

C.

The Lambda function does not have 1AM permissions to write to DynamoDB ID.

D.

The DynamoDB table is not running in the same Availability Zone as the Lambda function.

Buy Now
Questions 28

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?

Options:

A.

Server-side encryption with Amazon S3 managed keys (SSE-S3)

B.

Server-side encryption with customer-provided encryption keys (SSE-C)

C.

Server-side encryption with AWS KMS managed keys (SSE-KMS)

D.

Client-side encryption

Buy Now
Questions 29

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 30

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

Options:

A.

Sam init

B.

Sam validate

C.

Sam build

D.

Sam deploy

E.

Sam publish

Buy Now
Questions 31

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 32

A web application is designed to allow new users to create accounts using their email addresses. The application will store attributes for each user, and is expecting millions of user to sign up.

What should the Developer implement to achieve the design goals?

Options:

A.

Amazon Cognito user pools

B.

AWS Mobile Hub user data storage

C.

Amazon Cognito Sync

D.

AWS Mobile Hub cloud logic

Buy Now
Questions 33

A company is developing a web application that allows its employees to upload a profile picture to a private Amazon S3 bucket There is no size limit for the profile pictures, which should be displayed every time an employee logs in. For security reasons, the pictures cannot be publicly accessible.

What is a viable long-term solution for this scenario''

Options:

A.

Generate a presigned URL when a picture is uploaded Save the URL in an Amazon DynamoDB table Return the URL to the browser when the employee logs in

B.

Save the picture's S3 key in an Amazon DynamoDB table Create an Amazon S3 VPC endpoint to allow the employees to download pictures once they log in.

C.

Encode a picture using base64 Save the base64 string in an Amazon DynamoDB table Allow the browser to retrieve the string and convert it to a picture

D.

Save the picture's S3 key in an Amazon DynamoDB table. Use a function to generate a presigned URL every time an employee logs in. Return the URL to the browser.

Buy Now
Questions 34

A Developer must deploy a new AWS Lambda function using an AWS CloudFormation template.

Which procedures will deploy a Lambda function? (Select TWO.)

Options:

A.

Upload the code to an AWS CodeCommit repository, then add a reference to it in an AWS::Lambda::Function resource in the template.

B.

Create an AWS::Lambda::Function resource in the template, then write the code directly inside the CloudFormation template.

C.

Upload a .ZIP file containing the function code to Amazon S3, then add a reference to it in an AWS::Lambda::Function resource in the template.

D.

Upload a .ZIP file to AWS CloudFormation containing the function code, then add a reference to it in an AWS::Lambda::Function resource in the template.

E.

Upload the function code to a private Git repository, then add a reference to it in an AWS::Lambda::Function resource in the template.

Buy Now
Questions 35

A developer wants to ensure the Amazon EC2 instances in AWS Elastic Beanstalk execute a certain set of commands before the application is ready to use Which Elastic Beanstalk feature will allow the developer to accomplish this?

Options:

A.

Rolling update

B.

Immutable update

C.

User data

D.

ebextensions

Buy Now
Questions 36

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 37

An application overwrites an object in Amazon S3, and then immediately reads the same object. Why would the application sometimes retrieve the old version of the object?

Options:

A.

S3 overwrite PUTS are eventually consistent, so the application may read the old object.

B.

The application needs to add extra metadata to label the latest version when uploading to Amazon S3.

C.

All S3 PUTS are eventually consistent, so the application may read the old object.

D.

The application needs to explicitly specify latest version when retrieving the object.

Buy Now
Questions 38

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?

Options:

A.

Submit a limit increase request to AWS Support to increase the function to the size needed.

B.

Use a compression algorithm that is more efficient than ZIP.

C.

Break the function into multiple smaller Lambda functions.

D.

ZIP the ZIP file twice to compress it further.

Buy Now
Questions 39

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?

Options:

A.

Create a new Amazon EC2 Instance and run a NoSQL database on it. Cache the profile data within this database using the write-through caching strategy.

B.

Create an Amazon ElastiCache cluster to cache the user profile data. Use a cache-aside caching strategy.

C.

Use a dedicated Amazon RDS instance for caching profile data. Use a write-through caching strategy.

D.

Create an ElastiCache cluster to cache the user profile data. Use a write-through caching strategy.

Buy Now
Questions 40

A developer deployed an application to an Amazon EC2 instance. The application needs to know the public IPv4 address of the instance. How can the application find this information?

Options:

A.

Query the instance metadata from http://169.254.169.254/latest/meta-data/.

B.

Query the instance user data from http://169.254.169.254/latest/user-data/.

C.

Query the Amazon Machine Image (AMI) information from http://169.254.169.254/latest/meta-data/ami/.

D.

Check the hosts file of the operating system.

Buy Now
Questions 41

An application runs on multiple EC2 instances behind an ELB.

Where is the session data best written so that it can be served reliably across multiple requests?

Options:

A.

Write data to Amazon ElasticCache.

B.

Write data to Amazon Elastic Block Store.

C.

Write data to Amazon EC2 instance Block Store.

D.

Write data to the root filesystem.

Buy Now
Questions 42

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?

Options:

A.

Amazon Kinesis Firehose

B.

Amazon S3 Acceleration Transfer

C.

Amazon SQS

D.

Amazon SNS

Buy Now
Questions 43

A developer is building an application that needs to store date in Amazon S3. Management requires that the data be encrypted before is it sent to Amazon S3 for storage. The encryption keys need to be managed by the security team.

Which approach should the developer take to meet these requirements?

Options:

A.

Implement server-side encryption using customer-provided encryption keys (SSE-C).

B.

Implement server-side encryption by using client-side master key.

C.

Implement client-side encryption using an AWS KMS managed customer master key (CMK).

D.

Implement Client-side encryption using Amazon S3 managed keys.

Buy Now
Questions 44

A developer needs to use Amazon DynamoDB to store customer orders. The developer's company requires all customer data to be encrypted at rest with a ke the company generates.

What should the developer do to meet these requirements?

Options:

A.

Create the DynamoDB table with encryption set to None. Code the application to use the key to decrypt the data when the application reads from the table. Code the application to use the key to encrypt the data when the application writes to the table.

B.

Store the key by using AWS Key Management Service (AWS KMS). Choose an AWS KMS customer managed key during creation of the DynamoDB table. Provide the Amazon Resource Name (ARN) of the AWS KMS key.

C.

Store the key by using AWS Key Management Service (AWS KMS). Create the DynamoDB table with default encryption. Include the kms:Encrypt parameter with the Amazon Resource Name (ARN) of the AWS KMS key when using the DynamoDB software development kit (SDK).

D.

Store the key by using AWS Key Management Service (AWS KMS). Choose an AWS KMS AWS managed key during creation of the DynamoDB table Provide the Amazon Resource Name (ARN) of the AWS KMS key.

Buy Now
Questions 45

Company B provides an online image recognition service and utilizes SQS to decouple system components for scalability The SQS consumers poll the imaging queue as often as possible to keep end-to-end throughput as high as possible. However, Company B is realizing that polling in tight loops is burning CPU cycles and increasing costs with empty responses.

How can Company B reduce the number of empty responses?

Options:

A.

Set the imaging queue visibility Timeout attribute to 20 seconds

B.

Set the Imaging queue ReceiveMessageWaitTimeSeconds attribute to 20 seconds

C.

Set the imaging queue MessageRetentionPeriod attribute to 20 seconds

D.

Set the DelaySeconds parameter of a message to 20 seconds

Buy Now
Questions 46

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? (Select TWO)

Options:

A.

Callaws cloudformation package to create the deployment package Call aws cloudformation deploy to deploy the package afterward.

B.

Call sam package to create the deployment package Call sam deploy to deploy the package afterward

C.

Callaws s3 cp to upload the AWS SAM template to Amazon S3 Call aws lambda update-function-code to create the application.

D.

Create a ZIP package locally and call aws serverlessrepo create-applicarion to create the application.

E.

Create a ZIP package and upload it to Amazon S3 Callaws cloudfonnation create-stack to create the application

Buy Now
Questions 47

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 48

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?

Options:

A.

Configure cross-account roles in each audited account. Write code in Account A that assumes those roles

B.

Use S3 cross-region replication to communicate among accounts, with Amazon S3 event notifications to trigger Lambda functions

C.

Deploy an application in each audited account with its own role. Have Account A authenticate with the application

D.

Create an IAM user with an access key in each audited account. Write code in Account A that uses those access keys

Buy Now
Questions 49

A developer registered an AWS Lambda function as a target for an Application Load Balancer (ALB) using a CLI command. However, the Lambda function is not being invoked when the client sends requests through the ALB.

Why is the Lambda function not being invoked?

Options:

A.

A Lambda function cannot be registered as a target for an ALB

B.

A Lambda function can be registered with an ALB using AWS Management Console only

C.

The permissions to invoke the Lambda function are missing

D.

Cross-zone is not enabled on the ALB

Buy Now
Questions 50

A developer wants to migrate a Windows .NET application that is running on IIS with a Microsoft SQL Server database to AWS. The developer does not want to think about provisioning and managing the infrastructure.

What should the developer do to migrate the application with the LEAST amount of effort?

Options:

A.

Launch Amazon EC2 instances for Windows Server. Back up and restore the database to Amazon RDS. Deploy the web application to the new EC2 instances

B.

Back up and restore the database to Amazon RDS. Use the .NET Migration Assistant for AWS Elastic Beanstalk to migrate the web application to a preconfigured solution stack that Elastic Beanstalk provides.

C.

Migrate the database to Amazon DynamoDB Use Amazon API Gateway and AWS Lambda to create a web application interface that is hosted in an Amazon S3 bucket.

D.

Containerize the application on premises. Push the image to Amazon Elastic Container Registry (Amazon ECR). Create an AWS CloudFormation template to

deploy the application

Buy Now
Questions 51

A company s website runs on an Amazon EC2 instance and uses Auto Scale the environment during peak times Website users across the world are experiencing high to sea latency due to static content on the EC2 instance, even during non-peak hours.

Which combination of steps will resolve the latency issue? (Select TWO )

Options:

A.

Double the Auto Scaling group's maximum number of servers.

B.

Host the application code on AWS Lambda

C.

Scale vertically by resizing the EC2 instances

D.

Create an Amazon CloudFront distribution to cache the static content

E.

Store the application's static content in Amazon S3

Buy Now
Questions 52

An AWS Lambda function must access an external site by using a regularly rotated user name and password. These items must be kept securely and cannot be stored in the function code.

What combination of AWS services can be used to accomplish this? (Choose two.)

Options:

A.

AWS Certificate Manager (ACM)

B.

AWS Systems Manager Parameter Store

C.

AWS Trusted Advisor

D.

AWS KMS

E.

Amazon GuardDuty

Buy Now
Questions 53

A Developer is using AWS CLI, but when running list commands on a large number of resources, it is timing out.

What can be done to avoid this time-out?

Options:

A.

Use pagination

B.

Use shorthand syntax

C.

Use parameter values

D.

Use quoting strings

Buy Now
Questions 54

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?

Options:

A.

Create a new Identity and Access Management (IAM) instance profile containing the required permissions for the various ECS services, then associate that instance role with the underlying EC2 instances.

B.

Create four distinct IAM roles, each containing the required permissions for the associated ECS service, then configure each ECS service to reference the associated IAM role.

C.

Create four distinct IAM roles, each containing the required permissions for the associated ECS service, then, create an IAM group and configure the ECS cluster to reference that group.

D.

Create four distinct IAM roles, each containing the required permissions for the associated ECS service, then configure each ECS task definition to referenсe the associated IAM role.

Buy Now
Questions 55

In a move toward using microservices, a company’s Management team has asked all Development teams to build their services so that API requests depend only on that service’s data store. One team is building a Payments service which has its own database; the service needs data that originates in the Accounts database. Both are using Amazon DynamoDB.

What approach will result in the simplest, decoupled, and reliable method to get near-real time updates from the Accounts database?

Options:

A.

Use Amazon Glue to perform frequent ETL updates from the Accounts database to the Payments database.

B.

Use Amazon ElastiCache in Payments, with the cache updated by triggers in the Accounts database.

C.

Use Amazon Kinesis Data Firehouse to deliver all changes from the Accounts database to the Payments database.

D.

Use Amazon DynamoDB Streams to deliver all changes from the Accounts database to the Payments database.

Buy Now
Questions 56

A company has an internal website that gives users the ability to access contract Idata that is stored in an Amazon RDS DB instance The number of contracts has increased and several users have reported slow retrieval of the contract data

The company wants to set up a cache to improve the latency A developer must create a solution that ensures data resiliency The data must be encrypted and must be partitioned by department

Which solution will meet these requirements?

Options:

A.

Amazon ElastiCache for Memcached with cluster mode enabled

B.

Amazon ElastiCache for Redis with cluster mode enabled

C.

Amazon ElastiCache for Redis with cluster mode disabled

D.

Amazon ElastiCache for Memcached with cluster mode disabled

Buy Now
Questions 57

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?

Options:

A.

Configure Amazon Cognito identity pools and exchange the JSON Web Token (JWT) for temporary credentials

B.

Run the web application in an Amazon EC2 instance with the instance profile configured

C.

Hardcode the credentials use Amazon S3 to host the web application, and enable server-side encryption

D.

Use Amazon Cognito user pool JSON Web Tokens (JWTs) to access the DynamoDB APIs.

Buy Now
Questions 58

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?

Options:

A.

Deploy the application as an AWS Lambda function and invoke it with an Amazon CloudWatch alarm triggered by an S3 object upload

B.

Deploy the application as an AWS Lambda function and invoke it with an S3 event notification

C.

Deploy the application as an AWS Lambda function and invoke it with an Amazon CloudWatch scheduled event

D.

Deploy the application onto an Amazon EC2 instance and have it poll the S3 bucket for new objects.

Buy Now
Questions 59

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 60

A company has a three-tier application that is deployed in Amazon Elastic Container Service (Amazon ECS). The application is using an Amazon RDS for MySQL DB Instance The application performs more database reads than writes.

During times of peak usage. the application's performance degrades. When this performance degradation occurs, the DB instance's ReadLatency metric in Amazon CloudWatch increases suddenly

How should a developer modify the application to improve performance?

Options:

A.

Use Amazon ElastiCache to cache query results

B.

Scale the ECS cluster to contain more ECS instances

C.

Add read capacity units (RCUs) to the DB instance.

D.

Modify the ECS task definition to increase the task memory

Buy Now
Questions 61

An organization is using Amazon API Gateway to provide a public API called "Survey" for collecting user feedback posts about its products The survey API has "DEV" and "PROD" stages and consists of one resource "/feedback" which allows users to retrieve/create/update single feedback posts.

Aversion-controlled Swagger file is used to define a new API that retrieves multiple feedback posts To add the new API resource "/listFeedbackForProduct" the developer makes changes to the Swagger file defining an API uploads the fie to the organization's version control system, and uses the API Gateway Import API feature to apply the changes to the Survey API After successful import the developer runs the tests against the DEV stage and finds that resource VlistFeedbackForProduct" is not available.

What is MOST likely the reason for resource not being available?

Options:

A.

Even though the Swagger import was successful, resource creation failed afterwards

B.

There is a propagation delay of several minutes in creating API Gateway resources after import

C.

The developer needs to restart the API Gateway stage after import in order to apply the changes.

D.

The developer needs to create a new deployment after import in order to deploy the changes

Buy Now
Questions 62

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?

Options:

A.

Lambda will receive each record in the reverse order it was placed into the stream following a LIFO (last-in, first-out) method

B.

Lambda will receive each record in the exact order it was placed into the stream following a FIFO (first-in, first-out) method.

C.

Lambda will receive each record in the exact order it was placed into the shard following a FIFO (first-in, first-out) method. There is no guarantee of order across shards.

D.

The Developer can select FIFO, (first-in, first-out), LIFO (last-in, last-out), random, or request specific record using the getRecords API.

Buy Now
Questions 63

A developer is setting up Amazon API gateway for their company’s products. The API will be registered developers to query and update their environments. The company wants to limit the amount of requests end users send for.bot cost and security reason management wants to offer registered the option of buying larger packages that allow for more requests.

Options:

A.

Enable throttling for the API Gateway stage Set a value tor both the rate and burst capacity If a registered larger package, create a stage for them, adjust the values, and share the new URL with them.

B.

Set up Amazon CloudWatch API logging in API Gateway Create a filter based on the user and requestTime fields and create an alarm on this filter Write an AWS Lambda function to analyze the values and requester information, and respond accordingly Set up the function as the target tor the alarm If a registered user chooses a larger package, update the Lambda code with the values

C.

Enable Amazon CloudWatch metrics for the API Gateway stage Set up CloudWatch alarms based oft the Count metric and the ApiName, Method, Resource, and Stage dimensions to alerts when request rates pass the threshold Set the alarm action to Deny If a registered user chooses a larger package, create a user-specific alarm and adjust the values

D.

Set up a default usage plan specify values for the rate and burst capacity, and associate it with a stage If a registered user chooses a larger package, create a custom plan with the appropriate values and associate the plan with the user

Buy Now
Questions 64

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 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 is trying to make API calls using SDK. The IAM user credentials used by the application require multi-factor authentication for all API calls.

Which method the Developer use to access the multi-factor authentication protected API?

Options:

A.

GetFederationToken

B.

GetCallerIdentity

C.

GetSessionToken

D.

DecodeAutherizationMessage

Buy Now
Questions 67

A Developer needs temporary access to resources in a second account.

What is the MOST secure way to achieve this?

Options:

A.

Use the Amazon Cognito user pools to get short-lived credentials for the second account.

B.

Create a dedicated IAM access key for the second account, and send it by mail.

C.

Create a cross-account access role, and use sts:AssumeRole API to get short-lived credentials.

D.

Establish trust, and add an SSH key for the second account to the IAM user.

Buy Now
Questions 68

An e-commerce web application that shares session state on-premises is being migrated to AWS. The application must be fault tolerant, natively highly scalable, and any service interruption should not affect the user experience.

What is the best option to store the session state?

Options:

A.

Store the session state in Amazon ElastiCache

B.

Store the session state in Amazon CloudFront

C.

Store the session state in Amazon S3

D.

Enable session stickiness using elastic load balancers

Buy Now
Questions 69

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 70

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?

Options:

A.

Modify the buildspec.yml file to include steps to send the output of build commands to Amazon

CloudWatch.

B.

Use a custom Docker image that includes the AWS X-Ray agent in the AWS CodeBuild project configuration.

C.

Check the build logs of the failed phase in the last build attempt in the AWS CodeBuild project build history.

D.

Manually re-run the build process on a local machine so that the output can be visualized.

Buy Now
Questions 71

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?

Options:

A.

Use AWS CodeDeploy and point it to the local storage to directly deploy a bundle m a zip. tar. or tar.gz format

B.

Upload the bundle to an Amazon S3 bucket and specify the S3 location when doing a deployment using AWS CodeDeploy

C.

Create a repository using AWS CodeCommit to automatically trigger a deployment to the EC2 instances

D.

Use AWS CodeBuild to automatically deploy the latest build to the latest EC2 instances

Buy Now
Questions 72

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 73

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?

Options:

A.

Develop an AWS Lambda function to check the upload folder in the S3 bucket. If new uploaded pictures are detected, the Lambda function will scan and parse them

B.

Once a picture is uploaded to Amazon S3: publish the event to an Amazon SQS queue. Use the queue as an event source to trigger an AWS Lambda function In the Lambda function scan and parse the picture.

C.

When the user uploads a picture, invoke an API hosted in Amazon API Gateway. The API will invoke an AWS Lambda function to scan and parse the picture

D.

Create a state machine in AWS Step Functions to check the upload folder in the S3 bucket. If a new picture is detected, invoke an AWS Lambda function to scan and parse it.

Buy Now
Questions 74

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?

Options:

A.

Place the Lambda function and target group in the same account

B.

Send the request body to the Lambda function with a size less than 1 MB 0

C.

Include the Base64 encoding status status code, status description, and headers in the Lambda function

D.

Enable the multi-value headers on the ALB

Buy Now
Questions 75

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?

Options:

A.

Check the Elastic Load Balancer logs for DeleteBucket requests.

B.

Check the application logs in Amazon CloudWatch Logs for Amazon S3 DeleteBucket errors.

C.

Check AWS X-Ray for Amazon S3 DeleteBucket alarms.

D.

Check AWS CloudTrail for a DeleteBucket event.

Buy Now
Questions 76

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?

Options:

A.

All at once

B.

Rolling

C.

Rolling with additional batch

D.

Immutable

Buy Now
Questions 77

A social media company is using Amazon Cognito in order to synchronize profiles across different mobile devices, to enable end users to have a seamless experience.

Which of the following configurations can be used to silently notify users whenever an update is available on all other devices?

Options:

A.

Modify the user pool to include all the devices which keep them in sync.

B.

Use the SyncCallback interface to receive notifications on the application.

C.

Use an Amazon Cognito stream to analyze the data and push the notifications.

D.

Use the push synchronization feature with the appropriate IAM role.

Buy Now
Questions 78

A developer is creating a new application that will be accessed by users through an API created using Amazon API Gateway The users need to be authenticated by a third-party Security Assertion Markup Language (SAML) identity provider Once authenticated, users will need access to other AWS services such as Amazon S3 and Amazon DynamoDB

How can these requirements be met?

Options:

A.

Use an Amazon Cognito user pool with SAML as the resource server

B.

Use Amazon Cognito Identity pools with a SAML identity provider as one of the authentication providers

C.

Use the AWS IAM service to provide the sign-up and sign-in functionality.

D.

Use Amazon CloudFront signed URLs to connect with the SAML identity provider

Buy Now
Questions 79

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*?

Options:

A.

Use Amazon SQS to invoke the Lambda functions

B.

Use an AWS Step Functions activity to run the Lambda functions

C.

Use Amazon SNS to trigger the Lambda functions

D.

Use an AWS Step Functions state machine to orchestrate the Lambda functions.

Buy Now
Questions 80

A developer is building an application that processes a stream of user-supplied data The data stream must be consumed by multiple Amazon EC2 based processing applications in parallel and in real time. Each processor must be able to resume without losing data if there is a service interruption. The Application Architect plans to add other processors in the near future, and wants to minimize the amount of data duplication involved.

Which solution will satisfy these requirements?

Options:

A.

Publish the data to Amazon SQS

B.

Publish the data to Amazon Kinesis Data Firehose

C.

Publish the data to Amazon CloudWatch Events.

D.

Publish the data to Amazon Kinesis Data Streams.

Buy Now
Exam Code: DVA-C01
Exam Name: AWS Certified Developer Associate Exam
Last Update: Feb 3, 2023
Questions: 608
$72  $159.99
$54  $119.99
$45  $99.99
buy now DVA-C01