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

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

List of questions

Question 161

Report
Export
Collapse

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?

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

Explanation:

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

asked 16/09/2024
Taheireem Shaikh
25 questions

Question 162

Report
Export
Collapse

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?

Use a DynamoDB query operation with the key attributes of user_id and sport_name and order the results based on the score attribute.
Use a DynamoDB query operation with the key attributes of user_id and sport_name and order the results based on the score attribute.
Create a global secondary index with a partition key of sport_name and a sort key of score, and get the results
Create a global secondary index with a partition key of sport_name and a sort key of score, and get the results
Use a DynamoDB scan operation to retrieve scores and user_id based on sport_name, and order the results based on the score attribute.
Use a DynamoDB scan operation to retrieve scores and user_id based on sport_name, and order the results based on the score attribute.
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.
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.
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

asked 16/09/2024
Corey Rivers
37 questions

Question 163

Report
Export
Collapse

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?

Amazon EMR
Amazon EMR
Amazon DynamoDB Accelerator
Amazon DynamoDB Accelerator
Amazon SQS
Amazon SQS
Amazon CloudFront
Amazon CloudFront
Suggested answer: B

Explanation:

Explanation:

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

asked 16/09/2024
Maria Gervasi
37 questions

Question 164

Report
Export
Collapse

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?

Allow the Developers to upload the code to an Amazon S3 bucket, and deploy it directly to Elastic Beanstalk.
Allow the Developers to upload the code to an Amazon S3 bucket, and deploy it directly to Elastic Beanstalk.
Allow the Developers to upload the code to a central FTP server to deploy the application to Elastic Beanstalk.
Allow the Developers to upload the code to a central FTP server to deploy the application to Elastic Beanstalk.
Create an AWS CodeCommit repository, allow the Developers to commit code to it, and then directly deploy the code to Elastic Beanstalk.
Create an AWS CodeCommit repository, allow the Developers to commit code to it, and then directly deploy the code to Elastic Beanstalk.
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.
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.
Suggested answer: B

Explanation:

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

asked 16/09/2024
Lebogang Aphane
44 questions

Question 165

Report
Export
Collapse

What does an Amazon SQS delay queue accomplish?

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

Explanation:

Explanation:

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

asked 16/09/2024
Michael Marzotto
36 questions

Question 166

Report
Export
Collapse

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?

Use pagination
Use pagination
Use shorthand syntax
Use shorthand syntax
Use parameter values
Use parameter values
Use quoting strings
Use quoting strings
Suggested answer: A

Explanation:

Explanation:

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

asked 16/09/2024
Brian Bell
40 questions

Question 167

Report
Export
Collapse

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:

Amazon DVA-C01 image Question 167 3925 09162024005626000000

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

Permissions associated with the role AROACLKWSDQRAOEXAMPLE:app1
Permissions associated with the role AROACLKWSDQRAOEXAMPLE:app1
Permissions associated with the default role used when the AWS service was built
Permissions associated with the default role used when the AWS service was built
Permission associated with the IAM principal that owns the AccessKeyID ASgeIAIOSFODNN7EXAMPLE
Permission associated with the IAM principal that owns the AccessKeyID ASgeIAIOSFODNN7EXAMPLE
Permissions associated with the account that owns the AWS service
Permissions associated with the account that owns the AWS service
Suggested answer: C
asked 16/09/2024
Steven Chong
34 questions

Question 168

Report
Export
Collapse

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

In the root of the application source code directory structure
In the root of the application source code directory structure
In the bin folder along with all the complied code
In the bin folder along with all the complied code
In an S3 bucket
In an S3 bucket
In the same folder as the application configuration files
In the same folder as the application configuration files
Suggested answer: A
asked 16/09/2024
Serhan Azdiken
42 questions

Question 169

Report
Export
Collapse

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?

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.
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.
Create a second Lambda function that handles thumbnail generation and storage. Change the existing Lambda function to invoke it asynchronously.
Create a second Lambda function that handles thumbnail generation and storage. Change the existing Lambda function to invoke it asynchronously.
Create an S3 event notification with a Lambda function destination. Create a new Lambda function to generate and store thumbnails.
Create an S3 event notification with a Lambda function destination. Create a new Lambda function to generate and store thumbnails.
Create an S3 event notification to an SQS Queue. Create a scheduled Lambda function that processes the queue, and generates and stores thumbnails.
Create an S3 event notification to an SQS Queue. Create a scheduled Lambda function that processes the queue, and generates and stores thumbnails.
Suggested answer: C

Explanation:

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

asked 16/09/2024
Jason Hicks
44 questions

Question 170

Report
Export
Collapse

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?

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

Explanation:

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

asked 16/09/2024
Martin Simmons
40 questions
Total 608 questions
Go to page: of 61
Search

Related questions