ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











An application is running on a cluster of Amazon EC2 instance. While trying to read objects stored within a single Amazon S3 bucket that are encrypted with server-side encryption with AWS KMS managed keys (SSE-KMS), the application receives the following error:

Service : AWSKMS: Status Code: 400: Code : ThrottlingException

Which combination of steps should be taken to prevent this failure? (Select TWO.)

A.
Contact AWS Support to request an AWS KMS rate limit increase.
A.
Contact AWS Support to request an AWS KMS rate limit increase.
Answers
B.
Perform error retries with exponential backoff in the application code.
B.
Perform error retries with exponential backoff in the application code.
Answers
C.
Contact AWS Support to request a S3 rate limit increase.
C.
Contact AWS Support to request a S3 rate limit increase.
Answers
D.
Import a customer master key (CMK) with a larger key size.
D.
Import a customer master key (CMK) with a larger key size.
Answers
E.
Use more than one customer master key (CMK) to encrypt S3 data
E.
Use more than one customer master key (CMK) to encrypt S3 data
Answers
Suggested answer: A, D

An advertising company has a dynamic website with heavy traffic. The company wants to migrate the website infrastructure to AWS to handle everything except website development. Which solution BEST meets these requirements?

A.
Use AWS VM Import to migrate a web server image to AWS Launch the image on a computeoptimized Amazon EC2 instanceLaunch.
A.
Use AWS VM Import to migrate a web server image to AWS Launch the image on a computeoptimized Amazon EC2 instanceLaunch.
Answers
B.
Launch multiple Amazon Lighsall instance behind a load balancer. Set up the website on those instances.
B.
Launch multiple Amazon Lighsall instance behind a load balancer. Set up the website on those instances.
Answers
C.
Deploy the website code in an AWS Elastic Beanstalk environment. Use Auto Scaling to scale the numbers of instance
C.
Deploy the website code in an AWS Elastic Beanstalk environment. Use Auto Scaling to scale the numbers of instance
Answers
D.
Use Amazon S3 to host the website. Use Amazon CloudFornt to deliver the content at scale.
D.
Use Amazon S3 to host the website. Use Amazon CloudFornt to deliver the content at scale.
Answers
Suggested answer: C

A Developer is migrating existing applications to AWS. These applications use MongoDB as their primary data store, and they will be deployed to Amazon EC2 instances. Management requires that the Developer minimize changes to applications while using AWS services Which solution should the Developer use to host MongoDB in AWS?

A.
Install MongoDB on the same instance where the application is running
A.
Install MongoDB on the same instance where the application is running
Answers
B.
Deploy Amazon DocumentDB in MongoDB compatibility mode
B.
Deploy Amazon DocumentDB in MongoDB compatibility mode
Answers
C.
Use Amazon API Gateway to translate API calls from MongoDB to Amazon DynamoDB.
C.
Use Amazon API Gateway to translate API calls from MongoDB to Amazon DynamoDB.
Answers
D.
Replicate the existing MongoDB workload to Amazon DynamoDB
D.
Replicate the existing MongoDB workload to Amazon DynamoDB
Answers
Suggested answer: D

A developer has written an application that runs on Amazon EC2 instances and generates a value every minute. The Developer wants to monitor and graph the values generated over time without logging in to the instance each time. Which approach should the Developer use to achieve this goal?

A.
Use the Amazon CloudWatch metrics reported by default for all EC2 instances View each value from the CloudWatch console.
A.
Use the Amazon CloudWatch metrics reported by default for all EC2 instances View each value from the CloudWatch console.
Answers
B.
Develop the application to store each value in a file on Amazon S3 every minute with the Umestamp as the name
B.
Develop the application to store each value in a file on Amazon S3 every minute with the Umestamp as the name
Answers
C.
Publish each generated value as a custom metric to Amazon CloudWatch using available AWS SDKs
C.
Publish each generated value as a custom metric to Amazon CloudWatch using available AWS SDKs
Answers
D.
Store each value as a variable and add the variable to the list of EC2 metrics that should be reported to the Amazon CloudWatch console
D.
Store each value as a variable and add the variable to the list of EC2 metrics that should be reported to the Amazon CloudWatch console
Answers
Suggested answer: C

A company stores all personally identifiable information (PII) in an Amazon DynamoDB table named PII in Account

A.
An application running on Amazon EC2 instances in Account B requires access to the PII table. An administrators in Account A created an IAM role named AccessPII with privileges to access the PII table, and made account B a trusted entity.Which combination of actional steps should Developers take to access the table? (Select TWO )
A.
An application running on Amazon EC2 instances in Account B requires access to the PII table. An administrators in Account A created an IAM role named AccessPII with privileges to access the PII table, and made account B a trusted entity.Which combination of actional steps should Developers take to access the table? (Select TWO )
Answers
B.
Ask an Administrator in Account B to allow the EC2 IAM role permission to assume the AccessPII role
B.
Ask an Administrator in Account B to allow the EC2 IAM role permission to assume the AccessPII role
Answers
C.
Ask an Administrator in Account B to allow the EC2 IAM role permission to assume the AccessPll role with predefined service control policies
C.
Ask an Administrator in Account B to allow the EC2 IAM role permission to assume the AccessPll role with predefined service control policies
Answers
D.
Ask an Administrator in Account A to allow the EG2 IAM role permission to assume the AccessPII role with predefined service control policies.
D.
Ask an Administrator in Account A to allow the EG2 IAM role permission to assume the AccessPII role with predefined service control policies.
Answers
E.
Include the AssumeRole API in the application code logic to obtain credentials to access the PlI table
E.
Include the AssumeRole API in the application code logic to obtain credentials to access the PlI table
Answers
F.
Include the GetSession token API in the application code logic to obtain credentials to access the Pll table
F.
Include the GetSession token API in the application code logic to obtain credentials to access the Pll table
Answers
Suggested answer: B, E

A developer is setting up Amazon API gateway for their company’s products. The API will be registered developers to query and update their environments. The company wants to limit the amount of requests end users send for.bot cost and security reason management wants to offer registered the option of buying larger packages that allow for more requests.

A.
Enable throttling for the API Gateway stage Set a value tor both the rate and burst capacity If a registered larger package, create a stage for them, adjust the values, and share the new URL with them.
A.
Enable throttling for the API Gateway stage Set a value tor both the rate and burst capacity If a registered larger package, create a stage for them, adjust the values, and share the new URL with them.
Answers
B.
Set up Amazon CloudWatch API logging in API Gateway Create a filter based on the user and requestTime fields and create an alarm on this filter Write an AWS Lambda function to analyze the values and requester information, and respond accordingly Set up the function as the target tor the alarm If a registered user chooses a larger package, update the Lambda code with the values
B.
Set up Amazon CloudWatch API logging in API Gateway Create a filter based on the user and requestTime fields and create an alarm on this filter Write an AWS Lambda function to analyze the values and requester information, and respond accordingly Set up the function as the target tor the alarm If a registered user chooses a larger package, update the Lambda code with the values
Answers
C.
Enable Amazon CloudWatch metrics for the API Gateway stage Set up CloudWatch alarms based oft the Count metric and the ApiName, Method, Resource, and Stage dimensions to alerts when request rates pass the threshold Set the alarm action to Deny If a registered user chooses a larger package, create a user-specific alarm and adjust the values
C.
Enable Amazon CloudWatch metrics for the API Gateway stage Set up CloudWatch alarms based oft the Count metric and the ApiName, Method, Resource, and Stage dimensions to alerts when request rates pass the threshold Set the alarm action to Deny If a registered user chooses a larger package, create a user-specific alarm and adjust the values
Answers
D.
Set up a default usage plan specify values for the rate and burst capacity, and associate it with a stage If a registered user chooses a larger package, create a custom plan with the appropriate values and associate the plan with the user
D.
Set up a default usage plan specify values for the rate and burst capacity, and associate it with a stage If a registered user chooses a larger package, create a custom plan with the appropriate values and associate the plan with the user
Answers
Suggested answer: A

A global company has an application running on Amazon EC2 instances that serves image files from Amazon S3. User requests from the browser are causing high traffic, which results in degraded performance. Which optimization solution should a Developer implement to increase application performance?

A.
Create multiple prefix in the S3 bucket to increase the request rate
A.
Create multiple prefix in the S3 bucket to increase the request rate
Answers
B.
Create an Amazon ElastiCache cluster to cache and serve frequently accessed items.
B.
Create an Amazon ElastiCache cluster to cache and serve frequently accessed items.
Answers
C.
Use Amazon CloudFront to serve the content of images stored in Amazon S3.
C.
Use Amazon CloudFront to serve the content of images stored in Amazon S3.
Answers
D.
Submit a ticket to AWS support to request a rate limit increase for the S3 bucket.
D.
Submit a ticket to AWS support to request a rate limit increase for the S3 bucket.
Answers
Suggested answer: B

A Developer is writing an application that runs on Amazon EC2 instances in an Auto scaling group.

The application data is stored in an Amazon DynamoDB table and records are constantly updated by all instances. An instance sometimes retrieves old dat a. The Developer wants to correct this by making sure the reads are strongly consistent.

How can the developer accomplish this?

A.
Set consistentRead to true when calling Getitem.
A.
Set consistentRead to true when calling Getitem.
Answers
B.
Create a new DynamoDB Accelerator (DAX) table.
B.
Create a new DynamoDB Accelerator (DAX) table.
Answers
C.
Set consistency to strong when calling Update Table.
C.
Set consistency to strong when calling Update Table.
Answers
D.
Use the Getshardlterator command.
D.
Use the Getshardlterator command.
Answers
Suggested answer: B

Explanation:

Reference: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html

A company provides APIs as a service and commits to a service level agreement (SLA) with all its users. To comply with each SLA, what should the company do?

A.
Enable throttling limits for each method in Amazon API Getaway.
A.
Enable throttling limits for each method in Amazon API Getaway.
Answers
B.
Create a usage plan for each user and request API keys to access the APIs.
B.
Create a usage plan for each user and request API keys to access the APIs.
Answers
C.
Enable API rate limiting in Amazon cognito for each user.
C.
Enable API rate limiting in Amazon cognito for each user.
Answers
D.
Enable default throttling limits for each stage after deploying the APIs.
D.
Enable default throttling limits for each stage after deploying the APIs.
Answers
Suggested answer: D

A Developer is migrating an on-premises application to AWS. The application currently takes user uploads and saves them to a local directory on the server. All uploads must be saved and made immediately available to all instances in an Auto scaling group.

Which approach will meet these requirements?

A.
Use Amazon EBS and configure the application AMI to use a snapshot of the same EBS instance on boot.
A.
Use Amazon EBS and configure the application AMI to use a snapshot of the same EBS instance on boot.
Answers
B.
Use Amazon S3 and rearchitect the application so all uploads are placed in S3.
B.
Use Amazon S3 and rearchitect the application so all uploads are placed in S3.
Answers
C.
Use instance storage and share it between instances launched from the same Amazon machine image (AMI).
C.
Use instance storage and share it between instances launched from the same Amazon machine image (AMI).
Answers
D.
Use Amazon EBS and file synchronization software to achieve eventual consistency among the auto scaling group.
D.
Use Amazon EBS and file synchronization software to achieve eventual consistency among the auto scaling group.
Answers
Suggested answer: B
Total 608 questions
Go to page: of 61