Quizzes · Services

Storage

Level 0 questions on every service listed under Storage.

  • 15 questions, from a pool of 54
  • Most have 1 correct answer of 4; some ask for 2 of 5
  • 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 1An SCP on the Prod OU denies a set of RDS actions. Which of these does the SCP NOT restrict?

Choose one answer

Learn it: SCP (service control policy) · Service-linked role

Question 2Only Todo.io's app servers may connect to the MySQL database on port 3306. The app servers come and go during the day, so their private IP addresses keep changing. How should the database's security group allow them in?

Choose one answer

Learn it: Security group

Question 3Where should Todo.io place its MySQL database inside the VPC?

Choose one answer

Learn it: Subnet · Security group

Question 4When should Todo.io attach a Lambda function to its VPC?

Choose one answer

Learn it: Lambda

Question 5Every morning at 9:00, thousands of Todo.io users add todos within a few minutes. The app writes each todo straight to its database, which can't keep up, and some saves fail. No todo may be lost. What should Todo.io do?

Choose one answer

Learn it: SQS (Simple Queue Service) · Design Todo.io with the Queue add-on

Question 6A teammate created Todo.io's RDS database while the console was set to eu-west-1. The app runs in us-east-1 and can't find the database. Why?

Choose one answer

Learn it: Region · Set up AWS: Wrong Region

Question 7What does Amazon RDS do for Todo.io that running MySQL on its own EC2 instance would not?

Choose one answer

Learn it: RDS (Relational Database Service)

Question 8Todo.io's app can't connect to its RDS MySQL database: the connection times out. The password is correct. What is the most likely cause?

Choose one answer

Learn it: Security group · RDS (Relational Database Service)

Question 9In Todo.io's Level 0 setup, how does the app prove who it is to its RDS MySQL database?

Choose one answer

Learn it: RDS (Relational Database Service)

Question 10Todo.io is creating a single-AZ RDS database, but its DB subnet group must include subnets in at least two Availability Zones. Why?

Choose one answer

Learn it: RDS (Relational Database Service) · Subnet

Question 11Someone ran DELETE FROM todos on Todo.io's RDS database. Will CloudTrail show who did it?

Choose one answer

Learn it: RDS (Relational Database Service) · CloudTrail

Question 12After Todo.io created its first RDS database, a role named AWSServiceRoleForRDS appeared. What is it?

Choose one answer

Learn it: Service-linked role

Question 13A developer can create RDS databases, but creating one with an Enhanced Monitoring role fails with AccessDenied. What is missing?

Choose one answer

Learn it: iam:PassRole

Question 14Todo.io needs reports that join users, todos and tags with SQL. Which service fits?

Choose one answer

Learn it: RDS (Relational Database Service) · DynamoDB

Question 15Unlike DynamoDB, where does an Amazon RDS database run?

Choose one answer

Learn it: RDS (Relational Database Service) · VPC (Virtual Private Cloud)

Question 16Todo.io's Lambda function, not attached to any VPC, swaps its DynamoDB table for an RDS MySQL database in a private subnet. Which two network changes let the function reach the database?

Choose two answers

Choose two.

Learn it: Lambda · Subnet · Security group · RDS (Relational Database Service) · NAT gateway

Question 17Todo.io's app on EC2 swaps its RDS MySQL database for a DynamoDB table. With RDS, access came down to the database's security group and a password. What decides whether the app may write to the table now?

Choose one answer

Learn it: DynamoDB · RDS (Relational Database Service) · EC2 (Elastic Compute Cloud) · IAM policy

Question 18Todo.io needs SQL reports with joins, so it moves its todos from DynamoDB to RDS MySQL. DynamoDB lived outside the VPC. Where does the new database go?

Choose one answer

Learn it: RDS (Relational Database Service) · Subnet · VPC (Virtual Private Cloud)

Question 19What does "RDS (Relational Database Service)" mean?

Choose one answer

Learn it: RDS (Relational Database Service)

Question 20Which term is this? "A managed SQL database, like MySQL or PostgreSQL, that AWS runs for you."

Choose one answer

Learn it: RDS (Relational Database Service)

Question 21Which AWS term is described by this analogy? "A filing cabinet with a librarian AWS employs."

Choose one answer

Learn it: RDS (Relational Database Service)

Question 22A 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 23Todo.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 24Todo.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 25The 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 26Todo.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 27How does Todo.io's app read and write DynamoDB?

Choose one answer

Learn it: DynamoDB

Question 28Todo.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 29Todo.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 30Todo.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 31How should Todo.io design a DynamoDB table so that reads are fast?

Choose one answer

Learn it: DynamoDB

Question 32A 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 33Todo.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 34With DynamoDB, which of these does Todo.io manage?

Choose one answer

Learn it: DynamoDB

Question 35Todo.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 36A 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 37Todo.io moves its app from an EC2 instance to a Lambda function. On EC2, the app wrote to DynamoDB with a role attached through an instance profile. What gives the function the same access?

Choose one answer

Learn it: Lambda · EC2 (Elastic Compute Cloud) · IAM role

Question 38What does "DynamoDB" mean?

Choose one answer

Learn it: DynamoDB

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

Choose one answer

Learn it: DynamoDB

Question 40Which 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

Question 41Todo.io creates a bucket named todoio-pictures in eu-west-1. Which statement is true?

Choose one answer

Learn it: S3 (Simple Storage Service)

Question 42What kind of storage is Amazon S3?

Choose one answer

Learn it: S3 (Simple Storage Service)

Question 43Is Amazon S3 inside Todo.io's VPC?

Choose one answer

Learn it: VPC (Virtual Private Cloud) · S3

Question 44Todo.io creates a new S3 bucket and changes no settings. Can someone on the internet read its objects?

Choose one answer

Learn it: S3 (Simple Storage Service)

Question 45Todo.io's pictures grow by about 1 TB a month. What must Todo.io do about S3 capacity?

Choose one answer

Learn it: S3 (Simple Storage Service)

Question 46In S3, what is an object's key?

Choose one answer

Learn it: S3 (Simple Storage Service)

Question 47Todo.io's auditors ask who downloaded a file from an S3 bucket last week. CloudTrail is on with its default settings. Will it have that?

Choose one answer

Learn it: CloudTrail

Question 48A teammate asks what controls who can read objects in an S3 bucket. Which answer is right?

Choose one answer

Learn it: S3 (Simple Storage Service) · IAM policy

Question 49Which of Todo.io's data belongs in S3?

Choose one answer

Learn it: S3 (Simple Storage Service)

Question 50What is the ARN of an S3 bucket named todoio-pictures?

Choose one answer

Learn it: ARN (Amazon Resource Name) · S3

Question 51Todo.io must keep a record of every AWS API call for seven years. What does it need?

Choose one answer

Learn it: CloudTrail

Question 52What does "S3 (Simple Storage Service)" mean?

Choose one answer

Learn it: S3 (Simple Storage Service)

Question 53Which term is this? "Unlimited storage for files ("objects") in containers called buckets."

Choose one answer

Learn it: S3 (Simple Storage Service)

Question 54Which AWS term is described by this analogy? "A warehouse of labelled boxes you can reach from anywhere."

Choose one answer

Learn it: S3 (Simple Storage Service)