ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











A company is using Amazon API Gateway to manage access to a set of microservices implemented as AWS Lambda functions. Following a bug report, the company makes a minor breaking change to one of the APIs. In order to avoid impacting existing clients when the new API is deployed, the company wants to allow clients six months to migrate from v1 to v2. Which approach should the Developer use to handle this change?

A.
Update the underlying Lambda function and provide clients with the new Lambda invocation URL.
A.
Update the underlying Lambda function and provide clients with the new Lambda invocation URL.
Answers
B.
Use API Gateway to automatically propagate the change to clients, specifying 180 days in the phased deployment parameter.
B.
Use API Gateway to automatically propagate the change to clients, specifying 180 days in the phased deployment parameter.
Answers
C.
Use API Gateway to deploy a new stage named v2 to the API and provide users with its URL.
C.
Use API Gateway to deploy a new stage named v2 to the API and provide users with its URL.
Answers
D.
Update the underlying Lambda function, create an Amazon CloudFront distribution with the updated Lambda function as its origin.
D.
Update the underlying Lambda function, create an Amazon CloudFront distribution with the updated Lambda function as its origin.
Answers
Suggested answer: C

A company has written a Java AWS Lambda function to be triggered whenever a user uploads an image to an Amazon S3 bucket. The function converts the original image to several different formats and then copies the resulting images to another Amazon S3 bucket.

The Developers find that no images are being copied to the second Amazon S3 bucket. They have tested the code on an Amazon EC2 instance with 1GB of RAM, and it takes an average of 500 seconds to complete. What is the MOST likely cause of the problem?

A.
The Lambda function has insufficient memory and needs to be increased to 1 GB to match the Amazon EC2 instance
A.
The Lambda function has insufficient memory and needs to be increased to 1 GB to match the Amazon EC2 instance
Answers
B.
Files need to be copied to the same Amazon S3 bucket for processing, so the second bucket needs to be deleted.
B.
Files need to be copied to the same Amazon S3 bucket for processing, so the second bucket needs to be deleted.
Answers
C.
Lambda functions have a maximum execution limit of 300 seconds, therefore the function is not completing.
C.
Lambda functions have a maximum execution limit of 300 seconds, therefore the function is not completing.
Answers
D.
There is a problem with the Java runtime for Lambda, and the function needs to be converted to node.js.
D.
There is a problem with the Java runtime for Lambda, and the function needs to be converted to node.js.
Answers
Suggested answer: C

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?

A.
Check the Elastic Load Balancer logs for DeleteBucket requests.
A.
Check the Elastic Load Balancer logs for DeleteBucket requests.
Answers
B.
Check the application logs in Amazon CloudWatch Logs for Amazon S3 DeleteBucket errors.
B.
Check the application logs in Amazon CloudWatch Logs for Amazon S3 DeleteBucket errors.
Answers
C.
Check AWS X-Ray for Amazon S3 DeleteBucket alarms.
C.
Check AWS X-Ray for Amazon S3 DeleteBucket alarms.
Answers
D.
Check AWS CloudTrail for a DeleteBucket event.
D.
Check AWS CloudTrail for a DeleteBucket event.
Answers
Suggested answer: D

An organization must store thousands of sensitive audio and video files in an Amazon S3 bucket.

Organizational security policies require that all data written to this bucket be encrypted.

How can compliance with this policy be ensured?

A.
Use AWS Lambda to send notifications to the security team if unencrypted objects are pun in the bucket.
A.
Use AWS Lambda to send notifications to the security team if unencrypted objects are pun in the bucket.
Answers
B.
Configure an Amazon S3 bucket policy to prevent the upload of objects that do not contain the xamzserver- side-encryption header.
B.
Configure an Amazon S3 bucket policy to prevent the upload of objects that do not contain the xamzserver- side-encryption header.
Answers
C.
Create an Amazon CloudWatch event rule to verify that all objects stored in the Amazon S3 bucket are encrypted.
C.
Create an Amazon CloudWatch event rule to verify that all objects stored in the Amazon S3 bucket are encrypted.
Answers
D.
Configure an Amazon S3 bucket policy to prevent the upload of objects that contain the x-amzserver- sideencryption header.
D.
Configure an Amazon S3 bucket policy to prevent the upload of objects that contain the x-amzserver- sideencryption header.
Answers
Suggested answer: B

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?

A.
S3 overwrite PUTS are eventually consistent, so the application may read the old object.
A.
S3 overwrite PUTS are eventually consistent, so the application may read the old object.
Answers
B.
The application needs to add extra metadata to label the latest version when uploading to Amazon S3.
B.
The application needs to add extra metadata to label the latest version when uploading to Amazon S3.
Answers
C.
All S3 PUTS are eventually consistent, so the application may read the old object.
C.
All S3 PUTS are eventually consistent, so the application may read the old object.
Answers
D.
The application needs to explicitly specify latest version when retrieving the object.
D.
The application needs to explicitly specify latest version when retrieving the object.
Answers
Suggested answer: A

The release process workflow of an application requires a manual approval before the code is deployed into the production environment. What is the BEST way to achieve this using AWS CodePipeline?

A.
Use multiple pipelines to allow approval
A.
Use multiple pipelines to allow approval
Answers
B.
Use an approval action in a stage
B.
Use an approval action in a stage
Answers
C.
Disable the stage transition to allow manual approval
C.
Disable the stage transition to allow manual approval
Answers
D.
Disable a stage just prior the deployment stage
D.
Disable a stage just prior the deployment stage
Answers
Suggested answer: B

A Developer created configuration specifications for an AWS Elastic Beanstalk application in a file named healthcheckurl.yaml in the .ebextensions/directory of their application source bundle. The file contains the following:

After the application launches, the health check is not being run on the correct path, event though it is valid. What can be done to correct this configuration file?

A.
Convert the file to JSON format.
A.
Convert the file to JSON format.
Answers
B.
Rename the file to a .config extension.
B.
Rename the file to a .config extension.
Answers
C.
Change the configuration section from options_settings to resources.
C.
Change the configuration section from options_settings to resources.
Answers
D.
Change the namespace of the option settings to a cusom namespace.
D.
Change the namespace of the option settings to a cusom namespace.
Answers
Suggested answer: B

Explanation:

Explanation:

Reference: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ebextensions.htmlYou can add AWS Elastic Beanstalk configuration files (.ebextensions) to your web application'ssource code to configure your environment and customize the AWS resources that it contains.

Configuration files are YAML- or JSON-formatted documents with a .config file extension that you place in a folder named .ebextensions and deploy in your application source bundle. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ebextensions.html

A company is migrating a single-server, on-premises web application to AWS. The company intends to use multiple servers behind an Elastic Load Balancer (ELB) to balance the load, and will also store session data in memory on the web server. The company does not want to lose that session data if a server fails or goes offline, and it wants to minimize user’s downtime. Where should the company move session data to MOST effectively reduce downtime and make users’ session data more fault tolerant?

A.
An Amazon ElastiCache for Redis cluster
A.
An Amazon ElastiCache for Redis cluster
Answers
B.
A second Amazon EBS volume
B.
A second Amazon EBS volume
Answers
C.
The web server’s primary disk
C.
The web server’s primary disk
Answers
D.
An Amazon EC2 instance dedicated to session data
D.
An Amazon EC2 instance dedicated to session data
Answers
Suggested answer: A

A Developer is building a mobile application and needs any update to user profile data to be pushed to all devices accessing the specific identity. The Developer does not want to manage a back end to maintain the user profile data. What is the MOST efficient way for the Developer to achieve these requirements using Amazon Cognito?

A.
Use Cognito federated identities.
A.
Use Cognito federated identities.
Answers
B.
Use a Cognito user pool.
B.
Use a Cognito user pool.
Answers
C.
Use Cognito Sync.
C.
Use Cognito Sync.
Answers
D.
Use Cognito events.
D.
Use Cognito events.
Answers
Suggested answer: C

Explanation:

Amazon Cognito Sync is an AWS service and client library that enables cross-device syncing of application-related user data. You can use it to synchronize user profile data across mobile devices and the web without requiring your own backend.

https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-sync.html

An e-commerce site allows returning users to log in to display customized web pages. The workflow is shown in the image below:

An application is running on EC2 instances. Amazon RDS is used for the database that stores user accounts and preferences. The website freezes or is slow to load while waiting for the login step to complete. The remaining components of the site are well-optimized.

Which of the following techniques will resolve this issue? (Select Two.)

A.
Implement the user login page as an asynchronous Lambda function.
A.
Implement the user login page as an asynchronous Lambda function.
Answers
B.
Use Amazon ElastiCache for MemCached to cache user data.
B.
Use Amazon ElastiCache for MemCached to cache user data.
Answers
C.
Use Amazon Application Load Balancer to load balance the traffic to the website.
C.
Use Amazon Application Load Balancer to load balance the traffic to the website.
Answers
D.
Call the database asynchronously so the code can continue executing.
D.
Call the database asynchronously so the code can continue executing.
Answers
E.
Batch login requests from hundreds of users together as a single read request to the database.
E.
Batch login requests from hundreds of users together as a single read request to the database.
Answers
Suggested answer: B, D

Explanation:

https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/making-asynchronouscalls.html

Total 608 questions
Go to page: of 61