
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
Software Security
Quiz
•
University - Professi...
10 questions
TAE22 Orientation quiz
Quiz
•
Professional Development
10 questions
April 21, 2020
Quiz
•
Professional Development
9 questions
LA - Module 10 - Qualities of language assessment
Quiz
•
University - Professi...
10 questions
Tools of KPI
Quiz
•
Professional Development
10 questions
Applied Networking
Quiz
•
Professional Development
10 questions
ASM Global - EXPERIENCE
Quiz
•
Professional Development
10 questions
How Far You Know BINUS?
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
