Quizzes · Service

DynamoDB

Level 0 questions on DynamoDB. Read about it first if it's new to you.

Works with: IAM (6), Lambda (4), VPC (4), EC2 (2), API Gateway (1)

  • 15 questions, from a pool of 18
  • 1 correct answer of 4 each
  • Pass line 80%

Questions and answers come in a new order every time, and every choice is explained. Your answers feed your weak spots on the exam page; they don't change your exam score.

Question 1A Todo.io Lambda function must write to a DynamoDB table. How should it get that permission?

Choose one answer

Learn it: IAM role · Lambda

Question 2Todo.io's report job only reads items from the Todos table. Which policy follows the principle of least privilege?

Choose one answer

Learn it: IAM policy

Question 3Todo.io wants an API with no servers to patch or scale. Which combination is the classic serverless pattern?

Choose one answer

Learn it: API Gateway · Lambda

Question 4The Todo.io app runs on an EC2 instance and must write to a DynamoDB table. What is the most secure way to give it AWS credentials?

Choose one answer

Learn it: EC2 (Elastic Compute Cloud) · Temporary credentials · IAM role · Design Todo.io on EC2

Question 5Todo.io creates a new Lambda function and doesn't attach it to any VPC. Can it call DynamoDB?

Choose one answer

Learn it: Lambda · DynamoDB

Question 6How does Todo.io's app read and write DynamoDB?

Choose one answer

Learn it: DynamoDB

Question 7Todo.io's app gets AccessDeniedException when it calls PutItem on the Todos table. What should be fixed?

Choose one answer

Learn it: DynamoDB · IAM policy

Question 8Todo.io's app on EC2, in a public subnet, calls DynamoDB. Which way does the request travel?

Choose one answer

Learn it: VPC (Virtual Private Cloud) · DynamoDB · Internet gateway

Question 9Todo.io wants traffic from its VPC to DynamoDB to stay off the internet, without paying extra for it. What should it add?

Choose one answer

Learn it: VPC (Virtual Private Cloud) · DynamoDB · NAT gateway

Question 10How should Todo.io design a DynamoDB table so that reads are fast?

Choose one answer

Learn it: DynamoDB

Question 11A Lambda function that isn't attached to a VPC writes to DynamoDB. Which security group is involved?

Choose one answer

Learn it: DynamoDB · Security group

Question 12Todo.io needs to store login sessions: millions of them, always looked up by session id, never joined to anything. Which service fits best?

Choose one answer

Learn it: DynamoDB

Question 13With DynamoDB, which of these does Todo.io manage?

Choose one answer

Learn it: DynamoDB

Question 14Todo.io created its Todos table in us-east-1. An app in eu-west-1 calls DynamoDB in eu-west-1 and gets ResourceNotFoundException. Why?

Choose one answer

Learn it: Region · DynamoDB

Question 15A policy should cover only the Todos table, in us-east-1, in account 111122223333. Which Resource is right?

Choose one answer

Learn it: ARN (Amazon Resource Name)

Question 16What does "DynamoDB" mean?

Choose one answer

Learn it: DynamoDB

Question 17Which term is this? "A fully managed NoSQL database you use through AWS API calls."

Choose one answer

Learn it: DynamoDB

Question 18Which AWS term is described by this analogy? "A giant labelled locker wall where you fetch lockers by their exact key."

Choose one answer

Learn it: DynamoDB