ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











A development team decides to adopt a continuous integration/continuous delivery (CI/CD) process using AWS CodePipehne and AWS CodeCommit for a new application. However, management wants a person to review and approve the code before it is deployed to production How can the development team add a manual approver to the CI/CD pipeline?

A.
Use AWS SES to send an email to approvers when their action is required Develop a simple application that allows approvers to accept or reject a build Invoke an AWS Lambda function to advance the pipeline when a build is accepted
A.
Use AWS SES to send an email to approvers when their action is required Develop a simple application that allows approvers to accept or reject a build Invoke an AWS Lambda function to advance the pipeline when a build is accepted
Answers
B.
If approved, add an approved tag when pushing changes to the CodeCommit repository.CodePipeiine will proceed to build and deploy approved commits without interruption
B.
If approved, add an approved tag when pushing changes to the CodeCommit repository.CodePipeiine will proceed to build and deploy approved commits without interruption
Answers
C.
Add an approval step to CodeCommit Commits will not be saved until approved.
C.
Add an approval step to CodeCommit Commits will not be saved until approved.
Answers
D.
Add an approval action to the pipeline. Configure the approval action to publish to an Amazon SNS topic when approval is required. The pipeline execution will stop and wait for an approval
D.
Add an approval action to the pipeline. Configure the approval action to publish to an Amazon SNS topic when approval is required. The pipeline execution will stop and wait for an approval
Answers
Suggested answer: D

A developer is building an application integrating an Amazon API Gateway with an AWS Lambda function. When calling the API, the developer receives the following error. Wed Nov 03 01:13:00 UTC 2017 : Method completed with status:

502 What should the developer do to resolve the error?

A.
Change the HTTP endpoint of the API to an HTTPS endpoint.
A.
Change the HTTP endpoint of the API to an HTTPS endpoint.
Answers
B.
Change the format of the payload sent to the API Gateway.
B.
Change the format of the payload sent to the API Gateway.
Answers
C.
Change the format of the Lambda function response to the API call.
C.
Change the format of the Lambda function response to the API call.
Answers
D.
Change the authorization header in the API call to access the Lambda function.
D.
Change the authorization header in the API call to access the Lambda function.
Answers
Suggested answer: C

A developer has built a market application that stores pricing data in Amazon DynamoDB with Amazon ElastiCache in front. The prices of items in the market change frequently Sellers have begun complaining that, after they update the price of an item, the price does not actually change in the product listing What could be causing this issue?

A.
The cache is not being invalidated when the price of the item is changed
A.
The cache is not being invalidated when the price of the item is changed
Answers
B.
The price of the item is being retrieved using a write-through ElastiCache cluster
B.
The price of the item is being retrieved using a write-through ElastiCache cluster
Answers
C.
The DynamoDB table was provisioned with insufficient read capacity
C.
The DynamoDB table was provisioned with insufficient read capacity
Answers
D.
The DynamoDB table was provisioned with insufficient write capacity.
D.
The DynamoDB table was provisioned with insufficient write capacity.
Answers
Suggested answer: A

A development team uses AWS Elastic Beanstalk for application deployment. The team has configured the application version lifecycle policy to limit the number of application versions to 25 However even with the lifecycle policy the source bundle is deleted from the Amazon S3 source bucket What should a developer do in the Elastic Beanstalk application version lifecycle settings to retain the source code in the S3 bucket?

A.
Change the Set the application versions limit by total count setting to zero.
A.
Change the Set the application versions limit by total count setting to zero.
Answers
B.
Disable the Lifecycle policy setting
B.
Disable the Lifecycle policy setting
Answers
C.
Change the Set the application version limit by age setting to zero.
C.
Change the Set the application version limit by age setting to zero.
Answers
D.
Set Retention to Retain source bundle in S3.
D.
Set Retention to Retain source bundle in S3.
Answers
Suggested answer: C

A development team is building a new application that will run on Amazon EC2 and use Amazon DynamoDB as a storage layer The developers all have assigned IAM user accounts in the same IAM group The developers currently can launch EC2 instances and they need to be able to launch EC2 instances with an instance role allowing access to Amazon DynamoDB. Which AWS I AM changes are needed when creating an instance role to provide this functionality^

A.
Create an IAM permission policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows DynamoDB to assume the role Attach a permissions policy to the development group in AWS IAM that allows developers to use the IAM GetRole and IAM PassRole permissions for the role
A.
Create an IAM permission policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows DynamoDB to assume the role Attach a permissions policy to the development group in AWS IAM that allows developers to use the IAM GetRole and IAM PassRole permissions for the role
Answers
B.
Create an IAM permissions policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows Amazon EC2 to assume the role Attach a permissions policy to the development group in AWS IAM that allows developers to use the IAM PassRole permission for the role
B.
Create an IAM permissions policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows Amazon EC2 to assume the role Attach a permissions policy to the development group in AWS IAM that allows developers to use the IAM PassRole permission for the role
Answers
C.
Create an IAM permission policy attached to the role that allows access to Amazon EC2 Add a trust policy to the role that allows DynamoDB to assume the role Attach a permissions policy to the development group in AWS IAM that allows developers to use the IAM PassRole permission for the role
C.
Create an IAM permission policy attached to the role that allows access to Amazon EC2 Add a trust policy to the role that allows DynamoDB to assume the role Attach a permissions policy to the development group in AWS IAM that allows developers to use the IAM PassRole permission for the role
Answers
D.
Create an IAM permissions policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows Amazon EC2 to assume the role Attach a permissions policy to the development group in AWS IAM that allows developers to use the iam GetRole permission for the role.
D.
Create an IAM permissions policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows Amazon EC2 to assume the role Attach a permissions policy to the development group in AWS IAM that allows developers to use the iam GetRole permission for the role.
Answers
Suggested answer: C

A company has a web application that uses an Amazon Cognito user pool for authentication. The company wants to create a login page with the company logo. What should a developer do to meet these requirements?

A.
Create a hosted user interface in Amazon Cognito and customize it with the company logo
A.
Create a hosted user interface in Amazon Cognito and customize it with the company logo
Answers
B.
Create a login page with the company logo and upload it to Amazon Cognito
B.
Create a login page with the company logo and upload it to Amazon Cognito
Answers
C.
Create a login page in Amazon API Gateway with the logo and save the link in Amazon Cognito.
C.
Create a login page in Amazon API Gateway with the logo and save the link in Amazon Cognito.
Answers
D.
Upload the logo to the Amazon Cognito app settings and point to the logo on a custom login page
D.
Upload the logo to the Amazon Cognito app settings and point to the logo on a custom login page
Answers
Suggested answer: A

A company is building a compute-intensive application that will run on a fleet of Amazon EC2 instances. The application uses attached Amazon EBS disks for storing dat a. The application will process sensitive information and all the data must be encrypted.

What should a developer do to ensure the data is encrypted on disk without impacting performance?

A.
Configure the Amazon EC2 instance fleet to use encrypted EBS volumes for storing data
A.
Configure the Amazon EC2 instance fleet to use encrypted EBS volumes for storing data
Answers
B.
Add logic to write all data to an encrypted Amazon S3 bucket
B.
Add logic to write all data to an encrypted Amazon S3 bucket
Answers
C.
Add a custom encryption algorithm to the application that will encrypt and decrypt all data
C.
Add a custom encryption algorithm to the application that will encrypt and decrypt all data
Answers
D.
Create a new Amazon Machine Image (AMI) with an encrypted root volume and store the data to ephemeral disks.
D.
Create a new Amazon Machine Image (AMI) with an encrypted root volume and store the data to ephemeral disks.
Answers
Suggested answer: A

A gaming application stores scores for players in an Amazon DynamoDB table that has four attributes: user_id, user_name, user_score, and user_rank. The users are allowed to update their names only. A user is authenticated by web identity federation.

Which set of conditions should be added in the policy attached to the role for the dynamodb: PutItem API call?

A.
Option A
A.
Option A
Answers
B.
Option B
B.
Option B
Answers
C.
Option C
C.
Option C
Answers
D.
Option D
D.
Option D
Answers
Suggested answer: C


A developer is building a serverless application using AWS Lambda and must create a REST API using an HTTP GET method What needs to be defined to meet this requirement? (Select TWO )

A.
A Lambda@Edge function
A.
A Lambda@Edge function
Answers
B.
An Amazon API Gateway with a Lambda function
B.
An Amazon API Gateway with a Lambda function
Answers
C.
An exposed GET method in an Amazon API Gateway ID.
C.
An exposed GET method in an Amazon API Gateway ID.
Answers
D.
An exposed GET method in the Lambda function
D.
An exposed GET method in the Lambda function
Answers
E.
An exposed GET method in Amazon Route 53
E.
An exposed GET method in Amazon Route 53
Answers
Suggested answer: B, E

A developer is trying to monitor an application's status by running a cron job that returns 1 if the service is up and 0 if the service is down. The developer created code that uses an AWS CLI putmetric- alarm command to publish the custom metrics to Amazon CloudWatch and create an alarm However the developer is unable to create an alarm as the custom metrics do not appear m the CloudWatch console. What is causing this issue?

A.
Sending custom metrics using the CLI is not supported
A.
Sending custom metrics using the CLI is not supported
Answers
B.
The developer needs to use the put-metric-data command.
B.
The developer needs to use the put-metric-data command.
Answers
C.
The developer must use a unified CloudWatch agent to publish custom metrics
C.
The developer must use a unified CloudWatch agent to publish custom metrics
Answers
D.
The code is not running on an Amazon EC2 instance
D.
The code is not running on an Amazon EC2 instance
Answers
Suggested answer: B
Total 608 questions
Go to page: of 61