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

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

List of questions

Question 251

Report
Export
Collapse

An application deployed on AWS Elastic Beanstalk experiences increased error rates during deployments of new application versions, resulting in service degradation for users. The Development team believes that this is because of the reduction in capacity during the deployment steps. The team would like to change the deployment policy configuration of the environment to an option that maintains full capacity during deployment while using the existing instances. Which deployment policy will meet these requirements while using the existing instances?

All at once
All at once
Rolling
Rolling
Rolling with additional batch
Rolling with additional batch
Immutable
Immutable
Suggested answer: D

Explanation:

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html

asked 16/09/2024
Stefano Humphries
40 questions

Question 252

Report
Export
Collapse

An application writes items to an Amazon DynamoDB table. As the application scales to thousands of instances, calls to the DynamoDB API generate occasional ThrottlingException errors. The application is coded in a language incompatible with the AWS SDK.

How should the error be handled?

Add exponential backoff to the application logic
Add exponential backoff to the application logic
Use Amazon SQS as an API message bus
Use Amazon SQS as an API message bus
Pass API calls through Amazon API Gateway
Pass API calls through Amazon API Gateway
Send the items to DynamoDB through Amazon Kinesis Data Firehose
Send the items to DynamoDB through Amazon Kinesis Data Firehose
Suggested answer: A

Explanation:

https://aws.amazon.com/premiumsupport/knowledge-center/throttled-ddb/SDKs automatically add exponential backoff. If not using the AWS SDKs, add your own backoff logic tothe application code. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.Handling

asked 16/09/2024
Javier Rodriguez
33 questions

Question 253

Report
Export
Collapse

A company is running an application built on AWS Lambda functions. One Lambda function has performance issues when it has to download a 50MB file from the Internet in every execution. This function is called multiple times a second. What solution would give the BEST performance increase?

Cache the file in the /tmp directory
Cache the file in the /tmp directory
Increase the Lambda maximum execution time
Increase the Lambda maximum execution time
Put an Elastic Load Balancer in front of the Lambda function
Put an Elastic Load Balancer in front of the Lambda function
Cache the file in Amazon S3
Cache the file in Amazon S3
Suggested answer: A

Explanation:

https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html

asked 16/09/2024
D Chauhan
38 questions

Question 254

Report
Export
Collapse

A company needs to distribute firmware updates to its customers around the world.

Which service will allow easy and secure control of the access to the downloads at the lowest cost?

Use Amazon CloudFront with signed URLs for Amazon S3
Use Amazon CloudFront with signed URLs for Amazon S3
Create a dedicated Amazon CloudFront Distribution for each customer
Create a dedicated Amazon CloudFront Distribution for each customer
Use Amazon CloudFront with AWS Lambda@Edge
Use Amazon CloudFront with AWS Lambda@Edge
Use Amazon API Gateway and AWS Lambda to control access to an S3 bucket
Use Amazon API Gateway and AWS Lambda to control access to an S3 bucket
Suggested answer: A

Explanation:

https://aws.amazon.com/blogs/networking-and-content-delivery/amazon-s3-amazon-cloudfront-amatch-made-in-the-cloud/

asked 16/09/2024
Norm Scott
31 questions

Question 255

Report
Export
Collapse

A Developer has a stateful web server on-premises that is being migrated to AWS. The Developer must have greater elasticity in the new design. How should the Developer re-factor the application to make it more elastic? (Choose two.)

Use pessimistic concurrency on Amazon DynamoDB
Use pessimistic concurrency on Amazon DynamoDB
Use Amazon CloudFront with an Auto Scaling group
Use Amazon CloudFront with an Auto Scaling group
Use Amazon CloudFront with an AWS Web Application Firewall
Use Amazon CloudFront with an AWS Web Application Firewall
Store session state data in an Amazon DynamoDB table
Store session state data in an Amazon DynamoDB table
Use an ELB with an Auto Scaling group
Use an ELB with an Auto Scaling group
Suggested answer: D, E
asked 16/09/2024
Miguel Pinar Guruceta
43 questions

Question 256

Report
Export
Collapse

A Developer is creating a template that uses AWS CloudFormation to deploy an application. This application is serverless and uses Amazon API Gateway, Amazon DynamoDB, and AWS Lambda. Which tool should the Developer use to define simplified syntax for expressing serverless resources?

CloudFormation serverless intrinsic functions
CloudFormation serverless intrinsic functions
AWS serverless express
AWS serverless express
An AWS serverless application model
An AWS serverless application model
A CloudFormation serverless plugin
A CloudFormation serverless plugin
Suggested answer: A
asked 16/09/2024
Jean-Gaetan Roche
31 questions

Question 257

Report
Export
Collapse

An e-commerce web application that shares session state on-premises is being migrated to AWS. The application must be fault tolerant, natively highly scalable, and any service interruption should not affect the user experience. What is the best option to store the session state?

Store the session state in Amazon ElastiCache
Store the session state in Amazon ElastiCache
Store the session state in Amazon CloudFront
Store the session state in Amazon CloudFront
Store the session state in Amazon S3
Store the session state in Amazon S3
Enable session stickiness using elastic load balancers
Enable session stickiness using elastic load balancers
Suggested answer: A

Explanation:

https://aws.amazon.com/caching/session-management/

asked 16/09/2024
Adekunle Fodeke
30 questions

Question 258

Report
Export
Collapse

A Developer wants to debug an application by searching and filtering log dat a. The application logs are stored in Amazon CloudWatch Logs. The Developer creates a new metric filter to count exceptions in the application logs. However, no results are returned from the logs.

What is the reason that no filtered results are being returned?

A setup of the Amazon CloudWatch interface VPC endpoint is required for filtering the CloudWatch Logs in the VPC
A setup of the Amazon CloudWatch interface VPC endpoint is required for filtering the CloudWatch Logs in the VPC
CloudWatch Logs only publishes metric data for events that happen after the filter is created
CloudWatch Logs only publishes metric data for events that happen after the filter is created
The log group for CloudWatch Logs should be first streamed to Amazon Elasticsearch Service before metric filtering returns the results
The log group for CloudWatch Logs should be first streamed to Amazon Elasticsearch Service before metric filtering returns the results
Metric data points for logs groups can be filtered only after they are exported to an Amazon S3 bucket
Metric data points for logs groups can be filtered only after they are exported to an Amazon S3 bucket
Suggested answer: B

Explanation:

https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/MonitoringLogData.html

asked 16/09/2024
Ayo dickson
50 questions

Question 259

Report
Export
Collapse

A Developer must analyze performance issues with production-distributed applications written as AWS Lambda functions. These distributed Lambda applications invoke other components that make up the applications. How should the Developer identify and troubleshoot the root cause of the performance issues in production?

Add logging statements to the Lambda functions, then use Amazon CloudWatch to view the logs.
Add logging statements to the Lambda functions, then use Amazon CloudWatch to view the logs.
Use AWS Cloud Trail and then examine the logs
Use AWS Cloud Trail and then examine the logs
Use AWS X-Ray, then examine the segments and errors
Use AWS X-Ray, then examine the segments and errors
Run Amazon Inspector agents and then analyze performance
Run Amazon Inspector agents and then analyze performance
Suggested answer: C

Explanation:

https://aws.amazon.com/blogs/developer/new-analyze-and-debug-distributed-applicationsinteractively-using-aws-x-ray-analytics/

asked 16/09/2024
Nikhil George
34 questions

Question 260

Report
Export
Collapse

A Developer is investigating an issue whereby certain requests are passing through an Amazon API Gateway endpoint /MyAPI, but the requests do not reach the AWS Lambda function backing /MyAPI. The Developer found that a second Lambda function sometimes runs at maximum concurrency allowed for the given AWS account. How can the Developer address this issue?

Manually reduce the concurrent execution limit at the account level
Manually reduce the concurrent execution limit at the account level
Add another API Gateway stage for /MyAPI, and shard the requests
Add another API Gateway stage for /MyAPI, and shard the requests
Configure the second Lambda function’s concurrency execution limit
Configure the second Lambda function’s concurrency execution limit
Reduce the throttling limits in the API Gateway /MyAPI endpoint
Reduce the throttling limits in the API Gateway /MyAPI endpoint
Suggested answer: C

Explanation:

https://aws.amazon.com/about-aws/whats-new/2017/11/set-concurrency-limits-on-individual-awslambda-functions/You can now set a concurrency limit on individual AWS Lambda functions. The concurrency limit youset will reserve a portion of your account level concurrency limit for a given function. This featureallows you to throttle a given function if it reaches a maximum number of concurrent executionsallowed, which you can choose to set.

asked 16/09/2024
Vladimir Litvinenko
29 questions
Total 608 questions
Go to page: of 61
Search

Related questions