ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











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?

A.
Make a new 1AM role with the needed permissions Stop the instance. Attach the new 1AM role to the instance Start the instance.
A.
Make a new 1AM role with the needed permissions Stop the instance. Attach the new 1AM role to the instance Start the instance.
Answers
B.
Delete the existing 1AM role Attach a new 1AM role with the needed permissions
B.
Delete the existing 1AM role Attach a new 1AM role with the needed permissions
Answers
C.
Stop the instance Update the attached 1AM role adding the needed permissions. Start the instance
C.
Stop the instance Update the attached 1AM role adding the needed permissions. Start the instance
Answers
D.
Update the attached 1AM role adding the needed permissions
D.
Update the attached 1AM role adding the needed permissions
Answers
Suggested answer: D

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?

A.
Use an Amazon DynamoDB table with DynamoDB Streams and read capacity auto scaling enabled
A.
Use an Amazon DynamoDB table with DynamoDB Streams and read capacity auto scaling enabled
Answers
B.
Use an Amazon S3 bucket and S3 Transfer Acceleration to speed up the image download
B.
Use an Amazon S3 bucket and S3 Transfer Acceleration to speed up the image download
Answers
C.
Use an Amazon Aurora database with a public DNS endpoint and auto scaling enabled
C.
Use an Amazon Aurora database with a public DNS endpoint and auto scaling enabled
Answers
D.
Use an Amazon S3 backed Amazon CloudFront distribution with a high Time-to-Live (TTL) to maximize caching
D.
Use an Amazon S3 backed Amazon CloudFront distribution with a high Time-to-Live (TTL) to maximize caching
Answers
Suggested answer: D

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?

A.
Use AWS Elastic Beanstalk for application deployment and select an all-at-once update policy.
A.
Use AWS Elastic Beanstalk for application deployment and select an all-at-once update policy.
Answers
B.
Use AWS Elastic Beanstalk for application deployment and select a rolling deployment policy.
B.
Use AWS Elastic Beanstalk for application deployment and select a rolling deployment policy.
Answers
C.
Deploy the Docker container on an Amazon EC2 instance in an Auto Scaling group and configure a health check on the EC2 instance
C.
Deploy the Docker container on an Amazon EC2 instance in an Auto Scaling group and configure a health check on the EC2 instance
Answers
D.
Deploy the Docker container using AWS Lambda and enable Amazon CloudWatch monitoring
D.
Deploy the Docker container using AWS Lambda and enable Amazon CloudWatch monitoring
Answers
Suggested answer: A

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?

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

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?

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

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?

A.
Use S3 PutObject events to Invoke AWS Lambda Then Lambda will copy the files to the other objects
A.
Use S3 PutObject events to Invoke AWS Lambda Then Lambda will copy the files to the other objects
Answers
B.
Create an AWS Lambda function that will pull a day of Images from the origin bucket and copy them to the other buckets.
B.
Create an AWS Lambda function that will pull a day of Images from the origin bucket and copy them to the other buckets.
Answers
C.
Use S3 Batch Operations to create jobs for images to be copied to each Individual bucket.
C.
Use S3 Batch Operations to create jobs for images to be copied to each Individual bucket.
Answers
D.
Use Amazon EC2 to batch pull images from multiple days and copy them to the other buckets
D.
Use Amazon EC2 to batch pull images from multiple days and copy them to the other buckets
Answers
Suggested answer: D

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?

A.
Enable AWS CloudTrail logging and use the logs to map each latency and bottleneck
A.
Enable AWS CloudTrail logging and use the logs to map each latency and bottleneck
Answers
B.
Enable and configure AWS X-Ray tracing on API Gateway and the Lambda function Use X-Ray to trace and analyze user requests
B.
Enable and configure AWS X-Ray tracing on API Gateway and the Lambda function Use X-Ray to trace and analyze user requests
Answers
C.
Enable Amazon CloudWatch Logs for the Lambda function Enable execution logs for API Gateway to view and analyze user request logs.
C.
Enable Amazon CloudWatch Logs for the Lambda function Enable execution logs for API Gateway to view and analyze user request logs.
Answers
D.
Enable VPC Flow Logs to capture and analyze network traffic within the VPC
D.
Enable VPC Flow Logs to capture and analyze network traffic within the VPC
Answers
Suggested answer: B

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?

A.
Deploy the WebSocket API to three stages for the respective routes create, update, and remove
A.
Deploy the WebSocket API to three stages for the respective routes create, update, and remove
Answers
B.
Create a new route key and set the name as action
B.
Create a new route key and set the name as action
Answers
C.
Set the value of the route selection expression to action
C.
Set the value of the route selection expression to action
Answers
D.
Set the value of the route selection expression to $request.body action
D.
Set the value of the route selection expression to $request.body action
Answers
Suggested answer: D

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

(Select TWO.)

A.
Improve the performance of S3 PUT operations
A.
Improve the performance of S3 PUT operations
Answers
B.
Improve the latency of deployments performed by AWS CodeDeploy
B.
Improve the latency of deployments performed by AWS CodeDeploy
Answers
C.
Improve latency and throughput for read-heavy application workloads.
C.
Improve latency and throughput for read-heavy application workloads.
Answers
D.
Reduce the time required to merge AWS CodeCommit branches
D.
Reduce the time required to merge AWS CodeCommit branches
Answers
E.
Improve performance of compute-intensive applications.
E.
Improve performance of compute-intensive applications.
Answers
Suggested answer: C, E

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?

A.
Grant the CloudFormation execution role S3 list and get permissions Add a bucket policy to Amazon S3 with the Pnncipal of "AWS": [account numbers].
A.
Grant the CloudFormation execution role S3 list and get permissions Add a bucket policy to Amazon S3 with the Pnncipal of "AWS": [account numbers].
Answers
B.
Grant the CloudFormation execution role S3 get permissions Add a bucket policy to Amazon S3 with the Principal of "".
B.
Grant the CloudFormation execution role S3 get permissions Add a bucket policy to Amazon S3 with the Principal of "".
Answers
C.
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
C.
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
Answers
D.
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.
D.
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.
Answers
Suggested answer: A
Total 608 questions
Go to page: of 61