
Dev on AWS Day 2
Quiz
•
Professional Development
•
Professional Development
•
Practice Problem
•
Hard
navjot singh
Used 9+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Code of Ethics for Teachers
Quiz
•
KG - Professional Dev...
10 questions
Pre and Post Test
Quiz
•
Professional Development
10 questions
Food Allergens (Kitchen)
Quiz
•
Professional Development
10 questions
Pre & Post Test QCC
Quiz
•
Professional Development
10 questions
Basic Clinical Chemistry
Quiz
•
Professional Development
10 questions
Bloom's Taxonomy Refresh
Quiz
•
Professional Development
10 questions
AA ACC4201 Quiz 1
Quiz
•
University - Professi...
10 questions
Post Test SLL The Luscious Matte Lipstick - SE
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
