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

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

List of questions

Question 401

Report
Export
Collapse

A developer is building an application on Amazon EC2 The developer encountered an "Access Denied" error on some of the API calls to AWS services while testing The developer needs to modify permissions that have been already given to the instance How can these requirements be met with minimal changes and minimum downtime?

Make a new 1AM role with the needed permissions Stop the instance. Attach the new 1AM role to the instance Start the instance.
Make a new 1AM role with the needed permissions Stop the instance. Attach the new 1AM role to the instance Start the instance.
Delete the existing 1AM role Attach a new 1AM role with the needed permissions
Delete the existing 1AM role Attach a new 1AM role with the needed permissions
Stop the instance Update the attached 1AM role adding the needed permissions. Start the instance
Stop the instance Update the attached 1AM role adding the needed permissions. Start the instance
Update the attached 1AM role adding the needed permissions
Update the attached 1AM role adding the needed permissions
Suggested answer: D
asked 16/09/2024
Levente Mikofalvi
29 questions

Question 402

Report
Export
Collapse

A developer is building an AWS Lambda function that will dynamically generate and send a weekly newsletter to 100.000 users This newsletter contains both static text and images The developer needs a fast and highly scalable place to store the images that will be hyperlinked in the newsletter Where should the developer store these images?

Use an Amazon DynamoDB table with DynamoDB Streams and read capacity auto scaling enabled
Use an Amazon DynamoDB table with DynamoDB Streams and read capacity auto scaling enabled
Use an Amazon S3 bucket and S3 Transfer Acceleration to speed up the image download
Use an Amazon S3 bucket and S3 Transfer Acceleration to speed up the image download
Use an Amazon Aurora database with a public DNS endpoint and auto scaling enabled
Use an Amazon Aurora database with a public DNS endpoint and auto scaling enabled
Use an Amazon S3 backed Amazon CloudFront distribution with a high Time-to-Live (TTL) to maximize caching
Use an Amazon S3 backed Amazon CloudFront distribution with a high Time-to-Live (TTL) to maximize caching
Suggested answer: D
asked 16/09/2024
Rey Geric Villafranca
43 questions

Question 403

Report
Export
Collapse

A developer Is working with a Docker application that needs to be quickly deployed using AWS without changing the infrastructure or configuring health checks. The application should be configured so that changes and updates can be made automatically without any downtime Which solution will meet these requirements?

Use AWS Elastic Beanstalk for application deployment and select an all-at-once update policy.
Use AWS Elastic Beanstalk for application deployment and select an all-at-once update policy.
Use AWS Elastic Beanstalk for application deployment and select a rolling deployment policy.
Use AWS Elastic Beanstalk for application deployment and select a rolling deployment policy.
Deploy the Docker container on an Amazon EC2 instance in an Auto Scaling group and configure a health check on the EC2 instance
Deploy the Docker container on an Amazon EC2 instance in an Auto Scaling group and configure a health check on the EC2 instance
Deploy the Docker container using AWS Lambda and enable Amazon CloudWatch monitoring
Deploy the Docker container using AWS Lambda and enable Amazon CloudWatch monitoring
Suggested answer: A
asked 16/09/2024
Vijay Khara
43 questions

Question 404

Report
Export
Collapse

A developer must build a mobile application that allows users to read and write data from an Amazon DynamoDB table to store user state for each unique user. The solution needs to limit data access to allow users access only to their own data Which solution below is the most secure?

Embed AWS access credentials into the application and create DynamoDB queries that limit user access.
Embed AWS access credentials into the application and create DynamoDB queries that limit user access.
Use Amazon Cognito identity pools to assign unique identifiers and provide user access
Use Amazon Cognito identity pools to assign unique identifiers and provide user access
Modify the DynamoDB table to allow public read and writes, then add client-side filtering
Modify the DynamoDB table to allow public read and writes, then add client-side filtering
Create a web portal for users to create an account on AWS Directory Service
Create a web portal for users to create an account on AWS Directory Service
Suggested answer: C
asked 16/09/2024
Victor Silveira
28 questions

Question 405

Report
Export
Collapse

A developer is trying to get data from an Amazon DynamoDB table called demoman-table The developer configured the AWS CLI to use a specific 1AM user's credentials and executed the following command: aws dynamodb get-item table- name demoman-table --key '("id": <"N''; ''1993''}} ' The command returned errors and no rows were returned What is the MOST likely cause of these issues?

The command is incorrect; it should be rewritten to use : ut-i t am with a string argument.
The command is incorrect; it should be rewritten to use : ut-i t am with a string argument.
The developer needs to log a ticket with AWS Support to enable access to the demoman-table.
The developer needs to log a ticket with AWS Support to enable access to the demoman-table.
Amazon DynamoDB cannot be accessed from the AWS CLI and needs to be called via the REST API
Amazon DynamoDB cannot be accessed from the AWS CLI and needs to be called via the REST API
The 1AM user needs an associated policy with read access to demoman-table.
The 1AM user needs an associated policy with read access to demoman-table.
Suggested answer: D
asked 16/09/2024
VIVEKANANDAN BALARAMAN
37 questions

Question 406

Report
Export
Collapse

A photo sharing website gets millions of new images every week The images are stored in Amazon S3 under a formatted date prefix A developer wants to move images to a few S3 buckets for analysis and further processing Images are not required to be moved in real time What is the MOST efficient method for performing this task?

Use S3 PutObject events to Invoke AWS Lambda Then Lambda will copy the files to the other objects
Use S3 PutObject events to Invoke AWS Lambda Then Lambda will copy the files to the other objects
Create an AWS Lambda function that will pull a day of Images from the origin bucket and copy them to the other buckets.
Create an AWS Lambda function that will pull a day of Images from the origin bucket and copy them to the other buckets.
Use S3 Batch Operations to create jobs for images to be copied to each Individual bucket.
Use S3 Batch Operations to create jobs for images to be copied to each Individual bucket.
Use Amazon EC2 to batch pull images from multiple days and copy them to the other buckets
Use Amazon EC2 to batch pull images from multiple days and copy them to the other buckets
Suggested answer: D
asked 16/09/2024
Tracy Nicholas
33 questions

Question 407

Report
Export
Collapse

A developer is building an application using an Amazon API Gateway REST API backed by an AWS Lambda function that interacts with an Amazon DynamoDB table During testing, the developer observes high latency when making requests to the API How can the developer evaluate the end-to-end latency and identify performance bottlenecks?

Enable AWS CloudTrail logging and use the logs to map each latency and bottleneck
Enable AWS CloudTrail logging and use the logs to map each latency and bottleneck
Enable and configure AWS X-Ray tracing on API Gateway and the Lambda function Use X-Ray to trace and analyze user requests
Enable and configure AWS X-Ray tracing on API Gateway and the Lambda function Use X-Ray to trace and analyze user requests
Enable Amazon CloudWatch Logs for the Lambda function Enable execution logs for API Gateway to view and analyze user request logs.
Enable Amazon CloudWatch Logs for the Lambda function Enable execution logs for API Gateway to view and analyze user request logs.
Enable VPC Flow Logs to capture and analyze network traffic within the VPC
Enable VPC Flow Logs to capture and analyze network traffic within the VPC
Suggested answer: B
asked 16/09/2024
Edgar Zapico
39 questions

Question 408

Report
Export
Collapse

A developer is building a WebSocket API using Amazon API Gateway. The payload sent to this API is JSON that includes an action key This key can have three different values create, update, and remove The developer must integrate with different routes based on the value of the action key of the incoming JSON payload.

How can the developer accomplish this task with the LEAST amount of configuration?

Deploy the WebSocket API to three stages for the respective routes create, update, and remove
Deploy the WebSocket API to three stages for the respective routes create, update, and remove
Create a new route key and set the name as action
Create a new route key and set the name as action
Set the value of the route selection expression to action
Set the value of the route selection expression to action
Set the value of the route selection expression to $request.body action
Set the value of the route selection expression to $request.body action
Suggested answer: D
asked 16/09/2024
PRADESH MATHEW
41 questions

Question 409

Report
Export
Collapse

Which of the following are good use cases for how Amazon ElastiCache can help an application?

(Select TWO.)

Improve the performance of S3 PUT operations
Improve the performance of S3 PUT operations
Improve the latency of deployments performed by AWS CodeDeploy
Improve the latency of deployments performed by AWS CodeDeploy
Improve latency and throughput for read-heavy application workloads.
Improve latency and throughput for read-heavy application workloads.
Reduce the time required to merge AWS CodeCommit branches
Reduce the time required to merge AWS CodeCommit branches
Improve performance of compute-intensive applications.
Improve performance of compute-intensive applications.
Suggested answer: C, E
asked 16/09/2024
mark obrien
43 questions

Question 410

Report
Export
Collapse

A developer has code stored in an Amazon S3 bucket The code must be deployed as an AWS Lambda function across multiple accounts in the same Region as the S3 bucket The Lambda function will be deployed using an AWS CloudFormation template that is run for each account What is the MOST secure approach to allow access to the Lambda code in the S3 bucket?

Grant the CloudFormation execution role S3 list and get permissions Add a bucket policy to Amazon S3 with the Pnncipal of "AWS": [account numbers].
Grant the CloudFormation execution role S3 list and get permissions Add a bucket policy to Amazon S3 with the Pnncipal of "AWS": [account numbers].
Grant the CloudFormation execution role S3 get permissions Add a bucket policy to Amazon S3 with the Principal of "".
Grant the CloudFormation execution role S3 get permissions Add a bucket policy to Amazon S3 with the Principal of "".
Use a service-based link to grant the Lambda function S3 list and get permissions by explicitly adding the S3 bucket's account number in the resource
Use a service-based link to grant the Lambda function S3 list and get permissions by explicitly adding the S3 bucket's account number in the resource
Use a service-based link to grant the Lambda function S3 get permissions and add a Resource of "*" to allow access to the S3 bucket.
Use a service-based link to grant the Lambda function S3 get permissions and add a Resource of "*" to allow access to the S3 bucket.
Suggested answer: A
asked 16/09/2024
mark obrien
43 questions
Total 608 questions
Go to page: of 61
Search

Related questions