ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











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?

A.
All at once
A.
All at once
Answers
B.
Rolling
B.
Rolling
Answers
C.
Rolling with additional batch
C.
Rolling with additional batch
Answers
D.
Immutable
D.
Immutable
Answers
Suggested answer: D

Explanation:

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

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?

A.
Add exponential backoff to the application logic
A.
Add exponential backoff to the application logic
Answers
B.
Use Amazon SQS as an API message bus
B.
Use Amazon SQS as an API message bus
Answers
C.
Pass API calls through Amazon API Gateway
C.
Pass API calls through Amazon API Gateway
Answers
D.
Send the items to DynamoDB through Amazon Kinesis Data Firehose
D.
Send the items to DynamoDB through Amazon Kinesis Data Firehose
Answers
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

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?

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

Explanation:

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

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?

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

Explanation:

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

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

A.
Use pessimistic concurrency on Amazon DynamoDB
A.
Use pessimistic concurrency on Amazon DynamoDB
Answers
B.
Use Amazon CloudFront with an Auto Scaling group
B.
Use Amazon CloudFront with an Auto Scaling group
Answers
C.
Use Amazon CloudFront with an AWS Web Application Firewall
C.
Use Amazon CloudFront with an AWS Web Application Firewall
Answers
D.
Store session state data in an Amazon DynamoDB table
D.
Store session state data in an Amazon DynamoDB table
Answers
E.
Use an ELB with an Auto Scaling group
E.
Use an ELB with an Auto Scaling group
Answers
Suggested answer: D, E

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?

A.
CloudFormation serverless intrinsic functions
A.
CloudFormation serverless intrinsic functions
Answers
B.
AWS serverless express
B.
AWS serverless express
Answers
C.
An AWS serverless application model
C.
An AWS serverless application model
Answers
D.
A CloudFormation serverless plugin
D.
A CloudFormation serverless plugin
Answers
Suggested answer: A

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?

A.
Store the session state in Amazon ElastiCache
A.
Store the session state in Amazon ElastiCache
Answers
B.
Store the session state in Amazon CloudFront
B.
Store the session state in Amazon CloudFront
Answers
C.
Store the session state in Amazon S3
C.
Store the session state in Amazon S3
Answers
D.
Enable session stickiness using elastic load balancers
D.
Enable session stickiness using elastic load balancers
Answers
Suggested answer: A

Explanation:

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

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

Explanation:

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

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?

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

Explanation:

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

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?

A.
Manually reduce the concurrent execution limit at the account level
A.
Manually reduce the concurrent execution limit at the account level
Answers
B.
Add another API Gateway stage for /MyAPI, and shard the requests
B.
Add another API Gateway stage for /MyAPI, and shard the requests
Answers
C.
Configure the second Lambda function’s concurrency execution limit
C.
Configure the second Lambda function’s concurrency execution limit
Answers
D.
Reduce the throttling limits in the API Gateway /MyAPI endpoint
D.
Reduce the throttling limits in the API Gateway /MyAPI endpoint
Answers
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.

Total 608 questions
Go to page: of 61