ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











A Developer is creating a mobile application that will not require users to log in.

What is the MOST efficient method to grant users access to AWS resources?

A.
Use an identity provider to securely authenticate with the application.
A.
Use an identity provider to securely authenticate with the application.
Answers
B.
Create an AWS Lambda function to create an IAM user when a user accesses the application.
B.
Create an AWS Lambda function to create an IAM user when a user accesses the application.
Answers
C.
Create credentials using AWS KMS and apply these credentials to users when using the application.
C.
Create credentials using AWS KMS and apply these credentials to users when using the application.
Answers
D.
Use Amazon Cognito to associate unauthenticated users with an IAM role that has limited access to resources.
D.
Use Amazon Cognito to associate unauthenticated users with an IAM role that has limited access to resources.
Answers
Suggested answer: D

Explanation:

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

A company is building an application to track athlete performance using an Amazon DynamoDB table. Each item in the table is identified by a partition key (user_id) and a sort key (sport_name). The table design is shown below:

(Note: Not all table attributes are shown)

A Developer is asked to write a leaderboard application to display the top performers (user_id) based on the score for each sport_name. What process will allow the Developer to extract results MOST efficiently from the DynamoDB table?

A.
Use a DynamoDB query operation with the key attributes of user_id and sport_name and order the results based on the score attribute.
A.
Use a DynamoDB query operation with the key attributes of user_id and sport_name and order the results based on the score attribute.
Answers
B.
Create a global secondary index with a partition key of sport_name and a sort key of score, and get the results
B.
Create a global secondary index with a partition key of sport_name and a sort key of score, and get the results
Answers
C.
Use a DynamoDB scan operation to retrieve scores and user_id based on sport_name, and order the results based on the score attribute.
C.
Use a DynamoDB scan operation to retrieve scores and user_id based on sport_name, and order the results based on the score attribute.
Answers
D.
Create a local secondary index with a primary key of sport_name and a sort key of score and get the results based on the score attribute.
D.
Create a local secondary index with a primary key of sport_name and a sort key of score and get the results based on the score attribute.
Answers
Suggested answer: B

Explanation:

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/SecondaryIndexes.html

https://docs.aws.amazon.com/zh_cn/amazondynamodb/latest/developerguide/GSI.html

A company recently migrated its web, application and NoSQL database tiers to AWS. The company is using Auto Scaling to scale the web and application tiers. More than 95 percent of the Amazon DynamoDB requests are repeated read- requests.

How can the DynamoDB NoSQL tier be scaled up to cache these repeated requests?

A.
Amazon EMR
A.
Amazon EMR
Answers
B.
Amazon DynamoDB Accelerator
B.
Amazon DynamoDB Accelerator
Answers
C.
Amazon SQS
C.
Amazon SQS
Answers
D.
Amazon CloudFront
D.
Amazon CloudFront
Answers
Suggested answer: B

Explanation:

Explanation:

Reference: https://aws.amazon.com/dynamodb/dax/

A company has multiple Developers located across the globe who are updating code incrementally for a development project. When Developers upload code concurrently, internet connectivity is slow, and it is taking a long time to upload code for deployment in AWS Elastic Beanstalk.

Which step will result in minimized upload and deployment time with the LEAST amount of administrative effort?

A.
Allow the Developers to upload the code to an Amazon S3 bucket, and deploy it directly to Elastic Beanstalk.
A.
Allow the Developers to upload the code to an Amazon S3 bucket, and deploy it directly to Elastic Beanstalk.
Answers
B.
Allow the Developers to upload the code to a central FTP server to deploy the application to Elastic Beanstalk.
B.
Allow the Developers to upload the code to a central FTP server to deploy the application to Elastic Beanstalk.
Answers
C.
Create an AWS CodeCommit repository, allow the Developers to commit code to it, and then directly deploy the code to Elastic Beanstalk.
C.
Create an AWS CodeCommit repository, allow the Developers to commit code to it, and then directly deploy the code to Elastic Beanstalk.
Answers
D.
Create a code repository on an Amazon EC2 instance so that all Developers can update the code, and deploy the application from the instance to Elastic Beanstalk.
D.
Create a code repository on an Amazon EC2 instance so that all Developers can update the code, and deploy the application from the instance to Elastic Beanstalk.
Answers
Suggested answer: B

Explanation:

https://aws.amazon.com/premiumsupport/knowledge-center/deploy-codecommit-elasticbeanstalk/

What does an Amazon SQS delay queue accomplish?

A.
Messages are hidden for a configurable amount of time when they are first added to the queue.
A.
Messages are hidden for a configurable amount of time when they are first added to the queue.
Answers
B.
Messages are hidden for a configurable amount of time after they are consumed from the queue.
B.
Messages are hidden for a configurable amount of time after they are consumed from the queue.
Answers
C.
The consumer can poll the queue for a configurable amount of time before retrieving a message.
C.
The consumer can poll the queue for a configurable amount of time before retrieving a message.
Answers
D.
Message cannot be deleted for a configurable amount of time after they are consumed from the queue.
D.
Message cannot be deleted for a configurable amount of time after they are consumed from the queue.
Answers
Suggested answer: A

Explanation:

Explanation:

Reference: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqsdelayqueues.html

A Developer is using AWS CLI, but when running list commands on a large number of resources, it is timing out. What can be done to avoid this time-out?

A.
Use pagination
A.
Use pagination
Answers
B.
Use shorthand syntax
B.
Use shorthand syntax
Answers
C.
Use parameter values
C.
Use parameter values
Answers
D.
Use quoting strings
D.
Use quoting strings
Answers
Suggested answer: A

Explanation:

Explanation:

Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-pagination.html

A company has an internet-facing application that uses Web Identity Federation to obtain a temporary credential from AWS Security Token Service (AWS STS). The app then uses the token to access AWS services. Review the following response:

Based on the response displayed what permissions are associated with the call from the application?

A.
Permissions associated with the role AROACLKWSDQRAOEXAMPLE:app1
A.
Permissions associated with the role AROACLKWSDQRAOEXAMPLE:app1
Answers
B.
Permissions associated with the default role used when the AWS service was built
B.
Permissions associated with the default role used when the AWS service was built
Answers
C.
Permission associated with the IAM principal that owns the AccessKeyID ASgeIAIOSFODNN7EXAMPLE
C.
Permission associated with the IAM principal that owns the AccessKeyID ASgeIAIOSFODNN7EXAMPLE
Answers
D.
Permissions associated with the account that owns the AWS service
D.
Permissions associated with the account that owns the AWS service
Answers
Suggested answer: C

Where should the appspec.yml file be placed in order for AWS CodeDeploy to work?

A.
In the root of the application source code directory structure
A.
In the root of the application source code directory structure
Answers
B.
In the bin folder along with all the complied code
B.
In the bin folder along with all the complied code
Answers
C.
In an S3 bucket
C.
In an S3 bucket
Answers
D.
In the same folder as the application configuration files
D.
In the same folder as the application configuration files
Answers
Suggested answer: A

An existing serverless application processes uploaded image files. The process currently uses a single Lambda function that takes an image file, performs the processing, and stores the file in Amazon S3. Users of the application now require thumbnail generation of the images. Users want to avoid any impact to the time it takes to perform the image uploads. How can thumbnail generation be added to the application, meeting user requirements while minimizing changes to existing code?

A.
Change the existing Lambda function handling the uploads to create thumbnails at the time of upload. Have the function store both the image and thumbnail in Amazon S3.
A.
Change the existing Lambda function handling the uploads to create thumbnails at the time of upload. Have the function store both the image and thumbnail in Amazon S3.
Answers
B.
Create a second Lambda function that handles thumbnail generation and storage. Change the existing Lambda function to invoke it asynchronously.
B.
Create a second Lambda function that handles thumbnail generation and storage. Change the existing Lambda function to invoke it asynchronously.
Answers
C.
Create an S3 event notification with a Lambda function destination. Create a new Lambda function to generate and store thumbnails.
C.
Create an S3 event notification with a Lambda function destination. Create a new Lambda function to generate and store thumbnails.
Answers
D.
Create an S3 event notification to an SQS Queue. Create a scheduled Lambda function that processes the queue, and generates and stores thumbnails.
D.
Create an S3 event notification to an SQS Queue. Create a scheduled Lambda function that processes the queue, and generates and stores thumbnails.
Answers
Suggested answer: C

Explanation:

https://docs.aws.amazon.com/lambda/latest/dg/with-s3-example.html

A Developer must re-implement the business logic for an order fulfilment system. The business logic has to make requests to multiple vendors to decide where to purchase an item. The whole process can take up to a week to complete. What is the MOST efficient and SIMPLEST way to implement a system that meets these requirements?

A.
Use AWS Step Functions to execute parallel Lambda functions, and join the results.
A.
Use AWS Step Functions to execute parallel Lambda functions, and join the results.
Answers
B.
Create an AWS SQS for each vendor, poll the queue from a worker instance, and joint the results.
B.
Create an AWS SQS for each vendor, poll the queue from a worker instance, and joint the results.
Answers
C.
Use AWS Lambda to asynchronously call a Lambda function for each vendor, and join the results.
C.
Use AWS Lambda to asynchronously call a Lambda function for each vendor, and join the results.
Answers
D.
Use Amazon CloudWatch Events to orchestrate the Lambda functions.
D.
Use Amazon CloudWatch Events to orchestrate the Lambda functions.
Answers
Suggested answer: A

Explanation:

https://aws.amazon.com/step-functions/

Total 608 questions
Go to page: of 61