AWS Certified Developer - Associate (DVA-C02) - Practice Exam 3

AWS Certified Developer - Associate (DVA-C02) - Practice Exam 3

1st Grade

65 Qs

quiz-placeholder

Similar activities

Diagnostic Diploma Software - Web - Repeat-2

Diagnostic Diploma Software - Web - Repeat-2

1st Grade

60 Qs

ict

ict

1st Grade

60 Qs

Virendra

Virendra

1st Grade

60 Qs

AWS Certified Solutions Architect - Associate (SAA-C03) - 3

AWS Certified Solutions Architect - Associate (SAA-C03) - 3

1st Grade

65 Qs

(CLF-C02) AWS Certified Cloud Practitioner Practice Exam 2

(CLF-C02) AWS Certified Cloud Practitioner Practice Exam 2

1st Grade

65 Qs

Computer Homework Sept 18th 2023

Computer Homework Sept 18th 2023

1st - 5th Grade

62 Qs

Workspace

Workspace

1st Grade

60 Qs

Childrens Den Homework Due May 4th 2024

Childrens Den Homework Due May 4th 2024

1st - 5th Grade

70 Qs

AWS Certified Developer - Associate (DVA-C02) - Practice Exam 3

AWS Certified Developer - Associate (DVA-C02) - Practice Exam 3

Assessment

Quiz

Computers

1st Grade

Hard

Created by

Jose Diaz

FREE Resource

65 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

You are working on a social media application that allows users to share BBQ recipes and photos. You would like to schedule a Lambda function to run every 10 minutes that checks for the latest posts and sends a notification, including an image thumbnail, to users who have previously engaged with posts from the same user. How can you configure your function to automatically run at 10-minute intervals?

Use Lambda with cron to schedule the function.

Use EC2 with cron to schedule the function.

Use Amazon EventBridge Events to schedule the function.

Use Amazon Simple Workflow Service (SWF) to schedule the function.

2.

MULTIPLE SELECT QUESTION

3 mins • 1 pt

You are working on a serverless application written in Python and running in Lambda. You have uploaded multiple versions of your code to Lambda, but would like to make sure your test environment always utilizes the latest version. Which methods can achieve this with the least amount of development effort?

(Choose3)

Reference the function using a qualified ARN and the $LATEST suffix.

Reference the function using an unqualified ARN.

Create another function to automatically update your function alias to point to the latest version of the code every time it is updated.

Create an alias and provide the name of the most recent version of your function.

Configure the alias to automatically update to point to the latest version of the code every time it is updated.

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

You are developing a video streaming application that users can access using multiple devices, for example, laptop, tablet, and cell phone. You would like to be able to track usage across the different devices and limit the number of devices from which a user can stream content. Which of the following AWS technologies could you use to achieve this?

Store device metadata linked to session state in ElastiCache.

Use Cognito to track and remember the devices.

Use S3 to store metadata about the device and link it to session state held in DynamoDB.

Use MFA on the device to track and remember the devices.

4.

MULTIPLE SELECT QUESTION

3 mins • 1 pt

You are migrating a restaurant booking application from your own data center to AWS. The application currently runs on a number of virtual machines running web and application servers, as well as a shared database server. The application needs to access a large number of shared images and documents containing drinks and food menus. You would like to implement a solution that includes shared storage and also grants the EC2 instances permissions to access the shared files. Which of the following options can best meet your needs?

(Choose2)

Store the files in ElastiCache.

Generate a pre-signed URL to grant access.

Use an IAM instance role to grant access.

Embed IAM credentials in the EC2 instance metadata.

Store the files in S3.

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

A developer wants to track the average time it takes to complete customer transactions for an application running on a group of EC2 instances, including the ability to view and track statistics, like how long it takes to complete an average customer request and the maximum request latency, across the all instances. The support team would like to receive an immediate notification if the average transaction completion time exceeds three seconds for one minute or longer. Which of the following will meet these requirements?


Configure a Lambda function to record transaction completion times, and add them to a log file stored in S3. Use Athena to query the S3 data based on transaction completion time, and create a CloudWatch dashboard based on the completion times to view the latest statistics. Configure a CloudWatch alarm to send an SNS notification to the support team if the average transaction completion time exceeds three seconds for one minute or longer.


Configure the application to record transaction completion times to the operating system log file. Install and configure the Amazon CloudWatch agent on the EC2 instances and send the operating system log to CloudWatch Logs. Use a metric filter based on transaction completion time, and create a CloudWatch dashboard based on the metric to view the latest statistics. Configure a CloudWatch alarm to send an SQS notification to the support team if the average transaction completion time exceeds three seconds for one minute or longer.

Install and configure the Amazon CloudWatch agent on the EC2 instances to send operating system metric data to CloudWatch. Use a metric filter based on transaction completion time, and create a CloudWatch dashboard based on the metric to view the latest statistics. Configure a CloudWatch alarm to send an SNS notification to the support team if the average transaction completion time exceeds three seconds for one minute or longer.

Configure the application to record transaction completion times to an application log file. Install and configure the CloudWatch agent on the EC2 instances, and send the application log to CloudWatch Logs. Use a metric filter based on transaction completion time, and create a CloudWatch dashboard based on the metric to view the latest statistics. Configure a CloudWatch alarm to send an SNS notification to the support team if the average transaction completion time exceeds three seconds for one minute or longer.

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

You are developing a healthy-eating application that tracks nutrition and water intake on a daily basis. Your users mainly access the application using a mobile device like a cell phone or tablet. You are planning to run a promotion to attract new users by providing a free trial period, and you would like to make it easy for guest users to trial your application. Which of the following can you use to configure access for guest users?

Identity federation with SAML

Cognito identity pools

IAM user pools

Identity federation with AWS

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

You are designing a high-performance, low-latency application that needs super fast database read and write performance. The CTO has requested that you implement a solution that can deliver microsecond read and single-digit millisecond write latency for database operations. Your dataset is currently 25 TB and is not expected to increase in size beyond 60 TB. Which of the following solutions would you suggest?

Store the entire dataset in MemoryDB for Redis.

Store frequently accessed data in ElastiCache for Memcached.

Implement RDS Proxy and use connection pooling to reduce latency for database operations.

Store the entire dataset in ElastiCache for Redis.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?