ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











A developer is working on a serverless application lhat needs lo process any changes to an Amazon DynamoDB table with an AWS Lambda function How should the developer configure the Lambda function to detect changes to the DynamoDB tabled

A.
Create an Amazon Kinesis data stream, and attach it to the DynamoDB table Create a trigger to connect the data stream to the Lambda function
A.
Create an Amazon Kinesis data stream, and attach it to the DynamoDB table Create a trigger to connect the data stream to the Lambda function
Answers
B.
Create an Amazon EventBridge (Amazon CloudWatch Events) rule to invoke the Lambda function on a regular schedule Connect to the DynamoDB table from the Lambda function to detect changes
B.
Create an Amazon EventBridge (Amazon CloudWatch Events) rule to invoke the Lambda function on a regular schedule Connect to the DynamoDB table from the Lambda function to detect changes
Answers
C.
Enable DynamoDB Streams on the table Create a trigger to connect the DynamoDB stream to the Lambda function
C.
Enable DynamoDB Streams on the table Create a trigger to connect the DynamoDB stream to the Lambda function
Answers
D.
Create an Amazon Kinesis Data Firehose delivery stream, and attach it to the DynamoDB table Configure the delivery stream destination as the Lambda function
D.
Create an Amazon Kinesis Data Firehose delivery stream, and attach it to the DynamoDB table Configure the delivery stream destination as the Lambda function
Answers
Suggested answer: C

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?

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.
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.
Answers
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.
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.
Answers
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.
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.
Answers
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
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
Answers
Suggested answer: D

A company is launching a new web application in the AWS Cloud. The company's development team is using AWS Elastic Beanstalk for deployment and maintenance. According to the company's change management process, the development team must evaluate changes for a specific time period before completing the rollout.

Which deployment policy meets this requirement?

A.
Immutable
A.
Immutable
Answers
B.
Rolling
B.
Rolling
Answers
C.
Rolling with additional batch
C.
Rolling with additional batch
Answers
D.
Traffic splitting
D.
Traffic splitting
Answers
Suggested answer: A

A company is using continuous integration/continuous deliver (CI/CD) system. A developer must automate the deployment of an application software package to Amazon EC2 instances and virtual servers that run on premises. Which AWS services should the developer use to meet these requirements?

A.
AWS Cloud9
A.
AWS Cloud9
Answers
B.
AWS CodeBuild
B.
AWS CodeBuild
Answers
C.
AWS Elastic Beanstalk
C.
AWS Elastic Beanstalk
Answers
D.
AWS CodeDeploy
D.
AWS CodeDeploy
Answers
Suggested answer: D

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?

A.
Write data to Amazon ElasticCache.
A.
Write data to Amazon ElasticCache.
Answers
B.
Write data to Amazon Elastic Block Store.
B.
Write data to Amazon Elastic Block Store.
Answers
C.
Write data to Amazon EC2 instance Block Store.
C.
Write data to Amazon EC2 instance Block Store.
Answers
D.
Write data to the root filesystem.
D.
Write data to the root filesystem.
Answers
Suggested answer: A

A developer is troubleshooting a three-tier application, which is deployed on Amazon EC2 instances. There is a connectivity problem between the application servers and the database servers.

Which AWS services or tools should be used to identify the faulty component? (Select TWO.)

A.
AWS CloudTrail.
A.
AWS CloudTrail.
Answers
B.
AWS Trusted Advisor
B.
AWS Trusted Advisor
Answers
C.
Amazon VPC Flow Logs
C.
Amazon VPC Flow Logs
Answers
D.
Network access control lists
D.
Network access control lists
Answers
E.
AWS Config rules
E.
AWS Config rules
Answers
Suggested answer: C, D

A company hosts a client-side web application for one of its subsidiaries on Amazon S3. The web application can be accessed through Amazon CloudFront from https://www.example.com. After a successful rollout, the company wants to host three more client-side web applications for its remaining subsidiaries on three separate S3 buckets.

To achieve this goal, a developer moves all the common JavaScript files and web fonts to a central S3 bucket that serves the web applications. However, during testing, the developer notices that the browser blocks the JavaScript files and web fonts.

What should the developer do to prevent the browser from blocking the JavaScript files and web fonts?

A.
Create four access points that allow access to the central S3 bucket. Assign an access point to each web application bucket.
A.
Create four access points that allow access to the central S3 bucket. Assign an access point to each web application bucket.
Answers
B.
Create a bucket policy that allows access to the central S3 bucket. Attach the bucket policy to the central S3 bucket.
B.
Create a bucket policy that allows access to the central S3 bucket. Attach the bucket policy to the central S3 bucket.
Answers
C.
Create a cross-origin resource sharing (CORS) configuration that allows access to the central S3 bucket. Add the CORS configuration to the central S3 bucket.
C.
Create a cross-origin resource sharing (CORS) configuration that allows access to the central S3 bucket. Add the CORS configuration to the central S3 bucket.
Answers
D.
Create a Content-MD5 header that provides a message integrity check for the central S3 bucket. insert the Content-MD5 header for each web application request.
D.
Create a Content-MD5 header that provides a message integrity check for the central S3 bucket. insert the Content-MD5 header for each web application request.
Answers
Suggested answer: C

A company hosts a microservices application that uses Amazon API Gateway, AWS Lambda, Amazon Simple Queue Service (Amazon SOS), and Amazon DynamoDB, One of the Lambda functions adds messages to an SOS FIFO queue. When a developer checks the application logs, the developer finds a few duplicated items in a DynamoDB table. The items were inserted by another polling function that processes messages from the queue. What is the MOST likely cause of this issue?

A.
Write operations on the DynamoDB table are being throttled
A.
Write operations on the DynamoDB table are being throttled
Answers
B.
The SOS queue delivered the message to the function more than once
B.
The SOS queue delivered the message to the function more than once
Answers
C.
API Gateway duplicated the message in the SOS queue
C.
API Gateway duplicated the message in the SOS queue
Answers
D.
The polling function timeout is greater than the queue visibility timeout
D.
The polling function timeout is greater than the queue visibility timeout
Answers
Suggested answer: B

A developer has written an application hosted on Amazon EC2 instances. The application generates and uploads thousands of new objects to an Amazon S3 bucket located in the same AWS region. The size of each object is less than 1 MB. The application is taking too long to run.

How can the performance of the application be improved?

A.
Use the S3 Multipart Upload API
A.
Use the S3 Multipart Upload API
Answers
B.
Use S3 Transfer Acceleration
B.
Use S3 Transfer Acceleration
Answers
C.
Upload the objects in parallel to Amazon S3
C.
Upload the objects in parallel to Amazon S3
Answers
D.
Add a random prefix to the object keys
D.
Add a random prefix to the object keys
Answers
Suggested answer: D

A developer has written an application that uses Amazon API Gateway and AWS Lambda The developer needs to configure the application so that the developer can visualize the application's components and Identify performance bottlenecks What should the developer do to meet these requirements?

A.
Enable AWS X-Ray tracing on the API Gateway stage
A.
Enable AWS X-Ray tracing on the API Gateway stage
Answers
B.
Enable AWS X-Ray tracing on the API Gateway methods
B.
Enable AWS X-Ray tracing on the API Gateway methods
Answers
C.
Enable Amazon CloudWatch Logs for API Gateway
C.
Enable Amazon CloudWatch Logs for API Gateway
Answers
D.
Enable Amazon CloudWatch Logs for Lambda
D.
Enable Amazon CloudWatch Logs for Lambda
Answers
Suggested answer: A
Total 608 questions
Go to page: of 61