Dev on AWS Day 2

Dev on AWS Day 2

Professional Development

5 Qs

quiz-placeholder

Similar activities

Sosialisasi SOP dan Manajemen Rilis

Sosialisasi SOP dan Manajemen Rilis

Professional Development

10 Qs

Galaxy Releases

Galaxy Releases

Professional Development

10 Qs

AWS Certified Developer - Associate

AWS Certified Developer - Associate

Professional Development

10 Qs

Catex Next Gen

Catex Next Gen

Professional Development

10 Qs

AWS IAM

AWS IAM

Professional Development

10 Qs

UNIX Project - Change Enablement Assessment

UNIX Project - Change Enablement Assessment

Professional Development

10 Qs

DevOps Overview Quiz

DevOps Overview Quiz

Professional Development

9 Qs

AWS Lambda and Serverless

AWS Lambda and Serverless

Professional Development

7 Qs

Dev on AWS Day 2

Dev on AWS Day 2

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

navjot singh

Used 9+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A developer is building an application that transforms text files to .pdf files. The text files are written to a source Amazon S3 bucket by a separate application. The developer wants to read the files as they arrive in Amazon S3 and convert them to .pdf files using AWS Lambda. The developer has written an IAM policy to allow access to Amazon S3 and Amazon CloudWatch Logs.


Which actions should the developer take to ensure that the Lambda function has the correct permissions?

Create a Lambda execution role using AWS IAM. Attach the IAM policy to the role. Assign the Lambda execution role to the Lambda function.

Create a Lambda execution user using AWS IAM. Attach the IAM policy to the user. Assign the Lambda execution user to the Lambda function.

Create a Lambda execution role using AWS IAM. Attach the IAM policy to the role. Store the IAM role as an environment variable in the Lambda function.

Create a Lambda execution user using AWS IAM. Attach the IAM policy to the user. Store the IAM user credentials as environment variables in the Lambda function.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A developer is building a web application that uses Amazon API Gateway. The developer wants to maintain different environments for development and production (dev and prod) workloads. The API will be backed by an AWS Lambda function with two aliases: one for dev and one for prod. How can this be achieved with the LEAST amount of configuration?

Create a REST API for each environment and integrate the APIs with the corresponding dev and prod aliases of the Lambda function. Then deploy the two APIs to their respective stages and access them using the stage URLs.

Create one REST API and integrate it with the Lambda function using a stage variable in place of an alias. Then deploy the API to two different stages – dev and prod – and create a stage variable in each stage with different aliases as the values. Access the API using the different stage URLs.

Create one REST API and integrate it with the dev alias of the Lambda function, and deploy it to a dev environment. Configure a canary release deployment for prod where the canary will integrate with the Lambda prod alias.

Create one REST API and integrate it with the prod alias of the Lambda function and deploy it to a prod environment. Configure a canary release deployment for dev where the canary will integrate with the Lambda dev alias.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A developer is testing an application locally and has deployed it to AWS Lambda. To remain under the package size limit, the dependencies were not included in the deployment file. When testing the application remotely, the function does not execute because of missing dependencies.

Which approach would resolve the issue?

Use the Lambda console editor to update the code and include the missing dependencies.

Create an additional .zip file with the missing dependencies and include the file in the original Lambda deployment package.

Add references to the missing dependencies in the Lambda function's environment variables.

Attach a layer to the Lambda function that contains the missing dependencies.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a good Amazon DynamoDB partition key schema for provisioned throughput efficiency?

Student ID, where every student has a unique identification number

College ID, where there are two colleges in the university

Class ID, where every student is in one of four classes

Tuition plan, where the vast majority of students are in-state and the rest are out-of-state

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A security system monitors 3,000 cameras and saves image metadata every 30 seconds to an Amazon DynamoDB table. Each sample involves writing 512 bytes of data. The writes are evenly distributed over time. How much write throughput is required for the target table?

30 WCU

100 WCU

600 WCU

300 WCU

3600 WCU