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

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

List of questions

Question 201

Report
Export
Collapse

An application runs on multiple EC2 instances behind an ELB.

Where is the session data best written so that it can be served reliably across multiple requests?

Write data to Amazon ElastiCache
Write data to Amazon ElastiCache
Write data to Amazon Elastic Block Store.
Write data to Amazon Elastic Block Store.
Write data to Amazon EC2 Instance Store.
Write data to Amazon EC2 Instance Store.
Write data to the root filesystem.
Write data to the root filesystem.
Suggested answer: C

Explanation:

Reference:

https://docs.aws.amazon.com/aws-technical-content/latest/microservices-on-aws/microserviceson-aws.pdf?icmpid=link_from_whitepapers_page (14)

asked 16/09/2024
ahudhuaf asdadasd
24 questions

Question 202

Report
Export
Collapse

A Developer is creating a Lambda function that will generate and export a file. The function requires 100 MB of temporary storage for temporary files while executing. These files will not be needed after the function is complete. How can the Developer MOST efficiently handle the temporary files?

Store the files in EBS and delete the files at the end of the Lambda function.
Store the files in EBS and delete the files at the end of the Lambda function.
Copy the files to EFS and delete the files at the end of the Lambda function.
Copy the files to EFS and delete the files at the end of the Lambda function.
Store the files in the /tmp directory and delete the files at the end of the Lambda function.
Store the files in the /tmp directory and delete the files at the end of the Lambda function.
Copy the files to an S3 bucket with a lifecycle policy to delete the files.
Copy the files to an S3 bucket with a lifecycle policy to delete the files.
Suggested answer: C
asked 16/09/2024
Zaneta Zagajewska
31 questions

Question 203

Report
Export
Collapse

A Developer has developed a web application and wants to deploy it quickly on a Tomcat server on AWS. The Developer wants to avoid having to manage the underlying infrastructure. What is the easiest way to deploy the application, based on these requirements?

AWS CloudFormation
AWS CloudFormation
AWS Elastic Beanstalk
AWS Elastic Beanstalk
Amazon S3
Amazon S3
AWS CodePipeline
AWS CodePipeline
Suggested answer: B
asked 16/09/2024
Renats Fasulins
41 questions

Question 204

Report
Export
Collapse

An application uses Lambda functions to extract metadata from files uploaded to an S3 bucket; the metadata is stored in Amazon DynamoDB. The application starts behaving unexpectedly, and the Developer wants to examine the logs of the Lambda function code for errors.

Based on this system configuration, where would the Developer find the logs?

Amazon S3
Amazon S3
AWS CloudTrail
AWS CloudTrail
Amazon CloudWatch
Amazon CloudWatch
Amazon DynamoDB
Amazon DynamoDB
Suggested answer: C
asked 16/09/2024
Nora Daniels
36 questions

Question 205

Report
Export
Collapse

An organization is using Amazon CloudFront to ensure that its users experience low-latency access to its web application. The organization has identified a need to encrypt all traffic between users and CloudFront, and all traffic between CloudFront and the web application.

How can these requirements be met? (Choose two.)

Use AWS KMS to encrypt traffic between CloudFront and the web application.
Use AWS KMS to encrypt traffic between CloudFront and the web application.
Set the Origin Protocol Policy to “HTTPS Only”.
Set the Origin Protocol Policy to “HTTPS Only”.
Set the Origin’s HTTP Port to 443.
Set the Origin’s HTTP Port to 443.
Set the Viewer Protocol Policy to “HTTPS Only” or “Redirect HTTP to HTTPS”.
Set the Viewer Protocol Policy to “HTTPS Only” or “Redirect HTTP to HTTPS”.
Enable the CloudFront option Restrict Viewer Access.
Enable the CloudFront option Restrict Viewer Access.
Suggested answer: A, B

Explanation:

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-tocloudfront.html

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-cloudfrontto-custom-origin.html

asked 16/09/2024
Dennis Spring
45 questions

Question 206

Report
Export
Collapse

An application is using Amazon DynamoDB as its data store, and should be able to read 100 items per second as strongly consistent reads. Each item is 5 KB in size. To what value should the table’s provisioned read throughput be set?

50 read capacity units
50 read capacity units
100 read capacity units
100 read capacity units
200 read capacity units
200 read capacity units
500 read capacity unitsc
500 read capacity unitsc
Suggested answer: C
asked 16/09/2024
Benito Gonzalez
36 questions

Question 207

Report
Export
Collapse

A web application is designed to allow new users to create accounts using their email addresses. The application will store attributes for each user, and is expecting millions of user to sign up. What should the Developer implement to achieve the design goals?

Amazon Cognito user pools
Amazon Cognito user pools
AWS Mobile Hub user data storage
AWS Mobile Hub user data storage
Amazon Cognito Sync
Amazon Cognito Sync
AWS Mobile Hub cloud logic
AWS Mobile Hub cloud logic
Suggested answer: A
asked 16/09/2024
Ali Reza Farahnak
50 questions

Question 208

Report
Export
Collapse

A company needs a new REST API that can return information about the contents of an Amazon S3 bucket, such as a count of the objects stored in it. The company has decided that the new API should be written as a microservice using AWS Lambda and Amazon API Gateway.

How should the Developer ensure that the microservice has the necessary access to the Amazon S3 bucket, while adhering to security best practices?

Create an IAM user that has permissions to access the Amazon S3 bucket, and store the IAM user credentials in the Lambda function source code.
Create an IAM user that has permissions to access the Amazon S3 bucket, and store the IAM user credentials in the Lambda function source code.
Create an IAM role that has permissions to access the Amazon S3 bucket and assign it to the Lambda function as its execution role.
Create an IAM role that has permissions to access the Amazon S3 bucket and assign it to the Lambda function as its execution role.
Create an Amazon S3 bucket policy that specifies the Lambda service as its principal and assign it to the Amazon S3 bucket.
Create an Amazon S3 bucket policy that specifies the Lambda service as its principal and assign it to the Amazon S3 bucket.
Create an IAM role, attach the AmazonS3FullAccess managed policy to it, and assign the role to the Lambda function as its execution role.
Create an IAM role, attach the AmazonS3FullAccess managed policy to it, and assign the role to the Lambda function as its execution role.
Suggested answer: B

Explanation:

https://aws.amazon.com/premiumsupport/knowledge-center/lambda-execution-role-s3-bucket/

asked 16/09/2024
Leandro Franklin Franklin
43 questions

Question 209

Report
Export
Collapse

An application is running on an EC2 instance. The Developer wants to store an application metric in Amazon CloudWatch. What is the best practice for implementing this requirement?

Use the PUT Object API call to send data to an S3 bucket. Use an event notification to invoke a Lambda function to publish data to CloudWatch.
Use the PUT Object API call to send data to an S3 bucket. Use an event notification to invoke a Lambda function to publish data to CloudWatch.
Publish the metric data to an Amazon Kinesis Stream using a PutRecord API call. Subscribe a Lambda function that publishes data to CloudWatch.
Publish the metric data to an Amazon Kinesis Stream using a PutRecord API call. Subscribe a Lambda function that publishes data to CloudWatch.
Use the CloudWatch PutMetricData API call to submit a custom metric to CloudWatch. Provide the required credentials to enable the API call.
Use the CloudWatch PutMetricData API call to submit a custom metric to CloudWatch. Provide the required credentials to enable the API call.
Use the CloudWatch PutMetricData API call to submit a custom metric to CloudWatch. Launch the EC2 instance with the required IAM role to enable the API call.
Use the CloudWatch PutMetricData API call to submit a custom metric to CloudWatch. Launch the EC2 instance with the required IAM role to enable the API call.
Suggested answer: D

Explanation:

https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html

asked 16/09/2024
Christopher Horting
41 questions

Question 210

Report
Export
Collapse

Queries to an Amazon DynamoDB table are consuming a large amount of read capacity. The table has a significant number of large attributes. The application does not need all of the attribute data. How can DynamoDB costs be minimized while maximizing application performance?

Batch all the writes, and perform the write operations when no or few reads are being performed.
Batch all the writes, and perform the write operations when no or few reads are being performed.
Create a global secondary index with a minimum set of projected attributes.
Create a global secondary index with a minimum set of projected attributes.
Implement exponential backoffs in the application.
Implement exponential backoffs in the application.
Load balance the reads to the table using an Application Load Balancer.
Load balance the reads to the table using an Application Load Balancer.
Suggested answer: C

Explanation:

https://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html

asked 16/09/2024
Benjamin Colart
47 questions
Total 608 questions
Go to page: of 61
Search

Related questions