
Dev on AWS Day 2

Quiz
•
Professional Development
•
Professional Development
•
Hard
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
Similar Resources on Wayground
10 questions
Galaxy Releases

Quiz
•
Professional Development
10 questions
AWS Certified Developer - Associate

Quiz
•
Professional Development
10 questions
AWS IAM

Quiz
•
Professional Development
10 questions
DevOps Trivia

Quiz
•
Professional Development
10 questions
Day 5 - Data Type and Structur

Quiz
•
Professional Development
10 questions
Sosialisasi SOP dan Manajemen Rilis

Quiz
•
Professional Development
10 questions
IGNITE Batch 2 - Automation Quiz - 08Sep23

Quiz
•
Professional Development
8 questions
DevSecOps

Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade