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

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

List of questions

Question 271

Report
Export
Collapse

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.)

Contact AWS Support to request an AWS KMS rate limit increase.
Contact AWS Support to request an AWS KMS rate limit increase.
Perform error retries with exponential backoff in the application code.
Perform error retries with exponential backoff in the application code.
Contact AWS Support to request a S3 rate limit increase.
Contact AWS Support to request a S3 rate limit increase.
Import a customer master key (CMK) with a larger key size.
Import a customer master key (CMK) with a larger key size.
Use more than one customer master key (CMK) to encrypt S3 data
Use more than one customer master key (CMK) to encrypt S3 data
Suggested answer: A, D
asked 16/09/2024
Judith Persons
43 questions

Question 272

Report
Export
Collapse

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?

Use AWS VM Import to migrate a web server image to AWS Launch the image on a computeoptimized Amazon EC2 instanceLaunch.
Use AWS VM Import to migrate a web server image to AWS Launch the image on a computeoptimized Amazon EC2 instanceLaunch.
Launch multiple Amazon Lighsall instance behind a load balancer. Set up the website on those instances.
Launch multiple Amazon Lighsall instance behind a load balancer. Set up the website on those instances.
Deploy the website code in an AWS Elastic Beanstalk environment. Use Auto Scaling to scale the numbers of instance
Deploy the website code in an AWS Elastic Beanstalk environment. Use Auto Scaling to scale the numbers of instance
Use Amazon S3 to host the website. Use Amazon CloudFornt to deliver the content at scale.
Use Amazon S3 to host the website. Use Amazon CloudFornt to deliver the content at scale.
Suggested answer: C
asked 16/09/2024
Orry Meijer
34 questions

Question 273

Report
Export
Collapse

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?

Install MongoDB on the same instance where the application is running
Install MongoDB on the same instance where the application is running
Deploy Amazon DocumentDB in MongoDB compatibility mode
Deploy Amazon DocumentDB in MongoDB compatibility mode
Use Amazon API Gateway to translate API calls from MongoDB to Amazon DynamoDB.
Use Amazon API Gateway to translate API calls from MongoDB to Amazon DynamoDB.
Replicate the existing MongoDB workload to Amazon DynamoDB
Replicate the existing MongoDB workload to Amazon DynamoDB
Suggested answer: D
asked 16/09/2024
Mikael Klingebrant
30 questions

Question 274

Report
Export
Collapse

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?

Use the Amazon CloudWatch metrics reported by default for all EC2 instances View each value from the CloudWatch console.
Use the Amazon CloudWatch metrics reported by default for all EC2 instances View each value from the CloudWatch console.
Develop the application to store each value in a file on Amazon S3 every minute with the Umestamp as the name
Develop the application to store each value in a file on Amazon S3 every minute with the Umestamp as the name
Publish each generated value as a custom metric to Amazon CloudWatch using available AWS SDKs
Publish each generated value as a custom metric to Amazon CloudWatch using available AWS SDKs
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
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
Suggested answer: C
asked 16/09/2024
Yenziwe Yengwa
43 questions

Question 275

Report
Export
Collapse

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

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 )
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 )
Ask an Administrator in Account B to allow the EC2 IAM role permission to assume the AccessPII role
Ask an Administrator in Account B to allow the EC2 IAM role permission to assume the AccessPII role
Ask an Administrator in Account B to allow the EC2 IAM role permission to assume the AccessPll role with predefined service control policies
Ask an Administrator in Account B to allow the EC2 IAM role permission to assume the AccessPll role with predefined service control policies
Ask an Administrator in Account A to allow the EG2 IAM role permission to assume the AccessPII role with predefined service control policies.
Ask an Administrator in Account A to allow the EG2 IAM role permission to assume the AccessPII role with predefined service control policies.
Include the AssumeRole API in the application code logic to obtain credentials to access the PlI table
Include the AssumeRole API in the application code logic to obtain credentials to access the PlI table
Include the GetSession token API in the application code logic to obtain credentials to access the Pll table
Include the GetSession token API in the application code logic to obtain credentials to access the Pll table
Suggested answer: B, E
asked 16/09/2024
ILLIA VELIASEVICH
46 questions

Question 276

Report
Export
Collapse

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.

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.
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.
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
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
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
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
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
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
Suggested answer: A
asked 16/09/2024
TienYai Ho
37 questions

Question 277

Report
Export
Collapse

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?

Create multiple prefix in the S3 bucket to increase the request rate
Create multiple prefix in the S3 bucket to increase the request rate
Create an Amazon ElastiCache cluster to cache and serve frequently accessed items.
Create an Amazon ElastiCache cluster to cache and serve frequently accessed items.
Use Amazon CloudFront to serve the content of images stored in Amazon S3.
Use Amazon CloudFront to serve the content of images stored in Amazon S3.
Submit a ticket to AWS support to request a rate limit increase for the S3 bucket.
Submit a ticket to AWS support to request a rate limit increase for the S3 bucket.
Suggested answer: B
asked 16/09/2024
Christheo Van Rooyen
30 questions

Question 278

Report
Export
Collapse

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?

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

Explanation:

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

asked 16/09/2024
Kyle Roarick
36 questions

Question 279

Report
Export
Collapse

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?

Enable throttling limits for each method in Amazon API Getaway.
Enable throttling limits for each method in Amazon API Getaway.
Create a usage plan for each user and request API keys to access the APIs.
Create a usage plan for each user and request API keys to access the APIs.
Enable API rate limiting in Amazon cognito for each user.
Enable API rate limiting in Amazon cognito for each user.
Enable default throttling limits for each stage after deploying the APIs.
Enable default throttling limits for each stage after deploying the APIs.
Suggested answer: D
asked 16/09/2024
Kazi Basit
41 questions

Question 280

Report
Export
Collapse

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?

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

Related questions