ExamGecko
Home / Amazon / DVA-C01 / List of questions
Ask Question

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

List of questions

Question 351

Report
Export
Collapse

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?

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
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
If approved, add an approved tag when pushing changes to the CodeCommit repository.CodePipeiine will proceed to build and deploy approved commits without interruption
If approved, add an approved tag when pushing changes to the CodeCommit repository.CodePipeiine will proceed to build and deploy approved commits without interruption
Add an approval step to CodeCommit Commits will not be saved until approved.
Add an approval step to CodeCommit Commits will not be saved until approved.
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
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
Suggested answer: D
asked 16/09/2024
Joseph Washington
42 questions

Question 352

Report
Export
Collapse

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?

Change the HTTP endpoint of the API to an HTTPS endpoint.
Change the HTTP endpoint of the API to an HTTPS endpoint.
Change the format of the payload sent to the API Gateway.
Change the format of the payload sent to the API Gateway.
Change the format of the Lambda function response to the API call.
Change the format of the Lambda function response to the API call.
Change the authorization header in the API call to access the Lambda function.
Change the authorization header in the API call to access the Lambda function.
Suggested answer: C
asked 16/09/2024
Troy Borders
31 questions

Question 353

Report
Export
Collapse

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?

The cache is not being invalidated when the price of the item is changed
The cache is not being invalidated when the price of the item is changed
The price of the item is being retrieved using a write-through ElastiCache cluster
The price of the item is being retrieved using a write-through ElastiCache cluster
The DynamoDB table was provisioned with insufficient read capacity
The DynamoDB table was provisioned with insufficient read capacity
The DynamoDB table was provisioned with insufficient write capacity.
The DynamoDB table was provisioned with insufficient write capacity.
Suggested answer: A
asked 16/09/2024
Wendie Canez
39 questions

Question 354

Report
Export
Collapse

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?

Change the Set the application versions limit by total count setting to zero.
Change the Set the application versions limit by total count setting to zero.
Disable the Lifecycle policy setting
Disable the Lifecycle policy setting
Change the Set the application version limit by age setting to zero.
Change the Set the application version limit by age setting to zero.
Set Retention to Retain source bundle in S3.
Set Retention to Retain source bundle in S3.
Suggested answer: C
asked 16/09/2024
Zafor Iqbal
35 questions

Question 355

Report
Export
Collapse

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^

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
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
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
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
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
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
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.
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.
Suggested answer: C
asked 16/09/2024
Aleksandar Jovasevic
45 questions

Question 356

Report
Export
Collapse

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?

Create a hosted user interface in Amazon Cognito and customize it with the company logo
Create a hosted user interface in Amazon Cognito and customize it with the company logo
Create a login page with the company logo and upload it to Amazon Cognito
Create a login page with the company logo and upload it to Amazon Cognito
Create a login page in Amazon API Gateway with the logo and save the link in Amazon Cognito.
Create a login page in Amazon API Gateway with the logo and save the link in Amazon Cognito.
Upload the logo to the Amazon Cognito app settings and point to the logo on a custom login page
Upload the logo to the Amazon Cognito app settings and point to the logo on a custom login page
Suggested answer: A
asked 16/09/2024
David Aghaegbuna
41 questions

Question 357

Report
Export
Collapse

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?

Configure the Amazon EC2 instance fleet to use encrypted EBS volumes for storing data
Configure the Amazon EC2 instance fleet to use encrypted EBS volumes for storing data
Add logic to write all data to an encrypted Amazon S3 bucket
Add logic to write all data to an encrypted Amazon S3 bucket
Add a custom encryption algorithm to the application that will encrypt and decrypt all data
Add a custom encryption algorithm to the application that will encrypt and decrypt all data
Create a new Amazon Machine Image (AMI) with an encrypted root volume and store the data to ephemeral disks.
Create a new Amazon Machine Image (AMI) with an encrypted root volume and store the data to ephemeral disks.
Suggested answer: A
asked 16/09/2024
Leandro Zaneratto
46 questions

Question 358

Report
Export
Collapse

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?

Amazon DVA-C01 image Question 358 4116 09162024005626000000

Option A
Option A
Option B
Option B
Option C
Option C
Option D
Option D
Suggested answer: C
asked 16/09/2024
Timothy Smith
38 questions

Question 359

Report
Export
Collapse


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 Lambda@Edge function
A Lambda@Edge function
An Amazon API Gateway with a Lambda function
An Amazon API Gateway with a Lambda function
An exposed GET method in an Amazon API Gateway ID.
An exposed GET method in an Amazon API Gateway ID.
An exposed GET method in the Lambda function
An exposed GET method in the Lambda function
An exposed GET method in Amazon Route 53
An exposed GET method in Amazon Route 53
Suggested answer: B, E
asked 16/09/2024
Abdul Majid Pasha
39 questions

Question 360

Report
Export
Collapse

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?

Sending custom metrics using the CLI is not supported
Sending custom metrics using the CLI is not supported
The developer needs to use the put-metric-data command.
The developer needs to use the put-metric-data command.
The developer must use a unified CloudWatch agent to publish custom metrics
The developer must use a unified CloudWatch agent to publish custom metrics
The code is not running on an Amazon EC2 instance
The code is not running on an Amazon EC2 instance
Suggested answer: B
asked 16/09/2024
Ntombifuthi Shabangu
28 questions
Total 608 questions
Go to page: of 61
Search

Related questions