AWS Dev 2

AWS Dev 2

Professional Development

30 Qs

quiz-placeholder

Similar activities

Review EL 1

Review EL 1

10th Grade - Professional Development

25 Qs

English Review

English Review

Professional Development

25 Qs

20230718 Quiz 1 Unit 1

20230718 Quiz 1 Unit 1

Professional Development

25 Qs

WonderSkills Reading Basic 2 Unit 5: Life at Home

WonderSkills Reading Basic 2 Unit 5: Life at Home

Professional Development

25 Qs

Advanced 1 Unit 8   Anansi Learns a Lesson

Advanced 1 Unit 8 Anansi Learns a Lesson

Professional Development

25 Qs

Transformacje. Na poziomie FCE / Matury.  Część 1.

Transformacje. Na poziomie FCE / Matury. Część 1.

7th Grade - Professional Development

25 Qs

C1+ high Midterm Exam (U7-9)

C1+ high Midterm Exam (U7-9)

University - Professional Development

26 Qs

C1.1 - Revision: Phrasal verbs

C1.1 - Revision: Phrasal verbs

10th Grade - Professional Development

25 Qs

AWS Dev 2

AWS Dev 2

Assessment

Quiz

English

Professional Development

Hard

Created by

Đạt Tiến

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

A developer is deploying an application that will store files in an Amazon S3 bucket. The files must be encrypted at rest. The developer wants to automatically replicate the files to an S3 bucket in a different AWS Region for disaster recovery.
How can the developer accomplish this task with the LEAST amount of configuration?

Encrypt the files by using server-side encryption with S3 managed encryption keys (SSE-S3). Enable S3 bucket replication.

Encrypt the files by using server-side encryption (SSE) with an AWS Key Management Service (AWS KMS) customer master key (CMK). Enable S3 bucket replication.

Use the s3 sync command to sync the files to the S3 bucket in the other Region.

Configure an S3 Lifecycle configuration to automatically transfer files to the S3 bucket in the other Region.

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

A serverless application is using AWS Step Functions to process data and save it to a database. The application needs to validate some data with an external service before saving the data. The application will call the external service from an AWS Lambda function, and the external service will take a few hours to validate the data. The external service will respond to a webhook when the validation is complete.
A developer needs to pause the Step Functions workflow and wait for the response from the external service.
What should the developer do to meet this requirement?

Use the .wait ForTaskToken option in the Lambda function task state. Pass the token in the body.

Use the .waitForTaskToken option in the Lambda function task state. Pass the invocation request.

Call the Lambda function in synchronous mode. Wait for the external service to complete the processing.

Call the Lambda function in asynchronous mode. Use the Wait state until the external service completes the processing.

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

A developer must use AWS X-Ray to monitor an application that is running on an Amazon EC2 instance. The developer has prepared the application by using the
X-Ray SDK.
What should the developer do to perform the monitoring?

Configure the X-Ray SDK sampling rule and target. Activate the X-Ray daemon from the EC2 console or the AWS CLI with the modify-instance-attribute command to set the XRayEnabled flag.

Install the X-Ray daemon. Assign an IAM role to the EC2 instance with a policy that allows writes to X-Ray.

Install the X-Ray daemon. Configure it to forward data to Amazon EventBridge (Amazon CloudWatch Events). Grant the EC2 instance permission to write to Event Bridge (CloudWatch Events).

Deploy the X-Ray SDK with the application, and instrument the application code. Use the SDK logger to capture and send the events.

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

A developer is designing a full-stack serverless application. Files for the website are stored in an Amazon S3 bucket. AWS Lambda functions that use Amazon
API Gateway endpoints return results from an Amazon DynamoDB table.
The developer must create a solution that securely provides registration and authentication for the application while minimizing the amount of configuration.
Which solution meets these requirements?

Create an Amazon Cognito user pool and an app client. Configure the app client to use the user pool and provide the hosted web UI provided for sign-up and sign-in.

Configure an Amazon Cognito identity pool. Map the users with IAM roles that are configured to access the S3 bucket that stores the website.

Configure and launch an Amazon EC2 instance to set up an identity provider with an Amazon Cognito user pool. Configure the user pool to provide the hosted web UI for sign-up and sign-in.

Create an IAM policy that allows access to the website that is stored in the S3 bucket. Attach the policy to an IAM group. Add IAM users to the group.

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

A company has an application that writes files to an Amazon S3 bucket. Whenever there is a new file, an S3 notification event invokes an AWS Lambda function to process the file. The Lambda function code works as expected. However, when a developer checks the Lambda function logs, the developer finds that multiple invocations occur for every file.
What is causing the duplicate entries?

The S3 bucket name is incorrectly specified in the application and is targeting another S3 bucket.

The Lambda function did not run correctly, and Lambda retried the invocation with a delay.

Amazon S3 is delivering the same event multiple times.

The application stopped intermittently and then resumed, splitting the logs into multiple smaller files.

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

A developer needs to use the AWS CLI on an on-premises development server temporarily to access AWS services while performing maintenance. The developer needs to authenticate to AWS with their identity for several hours.
What is the MOST secure way to call AWS CLI commands with the developer's IAM identity?

Specify the developer's IAM access key ID and secret access key as parameters for each CLI command

Run the aws configure CLI command. Provide the developer's IAM access key ID and secret access key.

Specify the developer's IAM profile as a parameter for each CLI command.

Run the get-session-token CLI command with the developer's IAM user. Use the returned credentials to call the CLI

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

An AWS Lambda function accesses two Amazon DynamoDB tables. A developer wants to improve the performance of the Lambda function by identifying bottlenecks in the function.
How can the developer inspect the timing of the DynamoDB API calls?

Add DynamoDB as an event source to the Lambda function. View the performance with Amazon CloudWatch metrics

Place an Application Load Balancer (ALB) in front of the two DynamoDB tables. Inspect the ALB logs

Limit Lambda to no more than five concurrent invocations. Monitor from the Lambda console.

Enable AWS X-Ray tracing for the function. View the traces from the X-Ray service.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?