ExamGecko
Home Home / Amazon / DVA-C01

Amazon DVA-C01 Practice Test - Questions Answers, Page 46

Question list
Search
Search

List of questions

Search

Related questions











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

A.
Sam init
A.
Sam init
Answers
B.
Sam validate
B.
Sam validate
Answers
C.
Sam build
C.
Sam build
Answers
D.
Sam deploy
D.
Sam deploy
Answers
E.
Sam publish
E.
Sam publish
Answers
Suggested answer: A, D

A developer used the BalehWnteltern API operation to insert items in an Amazon DynamoDB table OynamoDB returned a few items as unprocessed due to throttling The developer decides to retry the records on the unprocessed items What should the developer do to reprocess the records with the LEAST number of API calls'?

A.
Retry the BatchWriteltem operation immediately
A.
Retry the BatchWriteltem operation immediately
Answers
B.
Perform the Putltem operation on the unprocessed items individually instead of using the BatchWriteltem operation
B.
Perform the Putltem operation on the unprocessed items individually instead of using the BatchWriteltem operation
Answers
C.
Delay the BatchWriteltem operation by using progressively longer wait times between retries, or exponential backoff
C.
Delay the BatchWriteltem operation by using progressively longer wait times between retries, or exponential backoff
Answers
D.
Delete the items that were successfully processed, and reissue a new BatchWriteltem operation
D.
Delete the items that were successfully processed, and reissue a new BatchWriteltem operation
Answers
Suggested answer: D

A team deployed an AWS CloudFormaiion template to update a stack that already included an Amazon RDS DB instance However, before the deployment of the update the team changed the name of the DB instance on the template by mistake The DeletionPoIicy attribute for all resources was not changed from the default values What will be the result of this mistake?

A.
AWS CloudFormation will create a new database and delete the old one
A.
AWS CloudFormation will create a new database and delete the old one
Answers
B.
AWS CloudFormation will create a new database and keep the old one
B.
AWS CloudFormation will create a new database and keep the old one
Answers
C.
AWS CloudFormation will overwrite the existing database and rename it
C.
AWS CloudFormation will overwrite the existing database and rename it
Answers
D.
AWS CloudFormation will leave the existing database and will not create a new one
D.
AWS CloudFormation will leave the existing database and will not create a new one
Answers
Suggested answer: A

An application uses Amazon DynamoDB as its backend database The application experiences sudden spikes in traffic over the weekend and variable but predictable spikes during weekdays The capacity needs to be set to avoid throttling errors at all times How can this be accomplished cost-effectively?

A.
Use provisioned capacity with AWS Auto Scaling throughout the week.
A.
Use provisioned capacity with AWS Auto Scaling throughout the week.
Answers
B.
Use on-demand capacity for the weekend and provisioned capacity with AWS Auto Scaling during the weekdays
B.
Use on-demand capacity for the weekend and provisioned capacity with AWS Auto Scaling during the weekdays
Answers
C.
Use on-demand capacity throughout the week
C.
Use on-demand capacity throughout the week
Answers
D.
Use provisioned capacity with AWS Auto Scaling enabled during the weekend and reserved capacity enabled during the weekdays
D.
Use provisioned capacity with AWS Auto Scaling enabled during the weekend and reserved capacity enabled during the weekdays
Answers
Suggested answer: A

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

A.
Upload and deploy the new application version in the Elastic Beanstalk console
A.
Upload and deploy the new application version in the Elastic Beanstalk console
Answers
B.
Use the eb init CLI command to deploy a new version '
B.
Use the eb init CLI command to deploy a new version '
Answers
C.
Terminate the current Elastic Beanstalk environment and create a new one
C.
Terminate the current Elastic Beanstalk environment and create a new one
Answers
D.
Modify the ebextensions folder to add a source option to services
D.
Modify the ebextensions folder to add a source option to services
Answers
Suggested answer: A

A developer wants to use React to build a web and mobile application. The application will be hosted on AWS The application must authenticate users and then allow users to store and retrieve files that they own The developer wants to use Facebook for authentication Which CLI will MOST accelerate the development and deployment of this application on AWS?

A.
AWS CLI
A.
AWS CLI
Answers
B.
AWS Amplify CLI
B.
AWS Amplify CLI
Answers
C.
AWS Serverless Application Model (AWS SAM) CLI
C.
AWS Serverless Application Model (AWS SAM) CLI
Answers
D.
Amazon Elastic Container Service (Amazon ECS) CLI
D.
Amazon Elastic Container Service (Amazon ECS) CLI
Answers
Suggested answer: B

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?

A.
The Lambda function's concurrency limit has been exceeded
A.
The Lambda function's concurrency limit has been exceeded
Answers
B.
The DynamoDB table requires a global secondary index (GSI) to support writes.
B.
The DynamoDB table requires a global secondary index (GSI) to support writes.
Answers
C.
The Lambda function does not have 1AM permissions to write to DynamoDB ID.
C.
The Lambda function does not have 1AM permissions to write to DynamoDB ID.
Answers
D.
The DynamoDB table is not running in the same Availability Zone as the Lambda function.
D.
The DynamoDB table is not running in the same Availability Zone as the Lambda function.
Answers
Suggested answer: C

Multiple development teams are working on a project to migrate a monolithic application to a microservices-based application running on AWS Lambda The teams need a way to centrally manage code that is shared across multiple functions Which approach requires the LEAST maintenance?

A.
Each team maintains the code for the common components in their own code repository. They build and deploy the components with their Lambda functions together.
A.
Each team maintains the code for the common components in their own code repository. They build and deploy the components with their Lambda functions together.
Answers
B.
One team builds a Lambda layer to include the common components and shares the layer with the other teams
B.
One team builds a Lambda layer to include the common components and shares the layer with the other teams
Answers
C.
Each team builds and publishes the component they want to share to an Amazon S3 bucket The Lambda functions will download the components from the bucket
C.
Each team builds and publishes the component they want to share to an Amazon S3 bucket The Lambda functions will download the components from the bucket
Answers
D.
One team builds a Docker container for the common components and shares the container with the other teams
D.
One team builds a Docker container for the common components and shares the container with the other teams
Answers
Suggested answer: C

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?

A.
The 1AM policy that is attached to the EC2 instance profile role
A.
The 1AM policy that is attached to the EC2 instance profile role
Answers
B.
The session policy that is applied to the EC2 instance role session
B.
The session policy that is applied to the EC2 instance role session
Answers
C.
The AWS Key Management Service (AWS KMS) key policy that is attached to the EC2 instance profile role.
C.
The AWS Key Management Service (AWS KMS) key policy that is attached to the EC2 instance profile role.
Answers
D.
The Amazon VPC endpoint policy
D.
The Amazon VPC endpoint policy
Answers
Suggested answer: A

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?

A.
Update the Lambda function's execution role to include the missing permissions
A.
Update the Lambda function's execution role to include the missing permissions
Answers
B.
Update the Lambda function's resource policy to include the missing permissions
B.
Update the Lambda function's resource policy to include the missing permissions
Answers
C.
Include an 1AM policy document at the root of the deployment package and redeploy the Lambda function.
C.
Include an 1AM policy document at the root of the deployment package and redeploy the Lambda function.
Answers
D.
Redeploy the Lambda function using an account with access to the AdministratorAccess policy
D.
Redeploy the Lambda function using an account with access to the AdministratorAccess policy
Answers
Suggested answer: A
Total 608 questions
Go to page: of 61