VERSION WITH 65 QUESTIONS, 100% CORRECT ANSWERS
AND RATIONALE
What does a 2xx code mean? - CORRECT ANSWERS-The request was successful.
What does a 5xx error mean? - CORRECT ANSWERS-There has been a server side error
What does a 404 error mean? - CORRECT ANSWERS-The resource being accessed is not available on
the server
which languages are supported by the aws sdk? - CORRECT ANSWERS-python, ruby, nodejs, php, java
What is the default region for an sdk? - CORRECT ANSWERS-us-east-1
What is amazons data warehouse called? - CORRECT ANSWERS-Redshift
EC2 instances download jobs from SQS queue, but are taking too long to process. What api call can you
use to the length of time to process jobs? - CORRECT ANSWERS-ChangeMessageVisibility
(SQS) You are designing a new app which processes payments and delivers promotional emails to
customers. Your need to ensure that the payment process takes priority over the creation of emails.
What is the best way to achieve this? - CORRECT ANSWERS-Use 2 SQS queues. Poll that payment
queue first.
An SQS message can NOT be delivered multiple times? - CORRECT ANSWERS-False, SQS messages can
be delivered multiple times
What is the default visibility timeout for SQS? - CORRECT ANSWERS-30 seconds
,How long can SQS messages be? - CORRECT ANSWERS-Messages can contain up to 256 KB of text in
any format
SQS was the second service on AWS? - CORRECT ANSWERS-False, SQS was the first
DynomaDB writes are measured in 2 KB per write? - CORRECT ANSWERS-False, they are measured in 1
KB per write.
What are the two consistency models used when reading data from DynamoDB? - CORRECT
ANSWERS-Eventually Consistent and Strongly consistent
DynamoDB is a NoSQL database by AWS? - CORRECT ANSWERS-True
You have an app that needs 25 items of 13KB per second. Your app uses STRONGLY consistent reads.
What should the throughput be set to? (Math problem) - CORRECT ANSWERS-Calculate read capacity
units (items up to 4 KB in size)
Multiply number of items by read capacity units
Do NOT divide by 2 because strongly consistent
Answer: 100
One read capacity unit represents one strongly consistent read per second, or two eventually consistent
reads per second, for items up to 4 KB in size? - CORRECT ANSWERS-True
When you create a table, you specify how much provisioned throughput capacity you want to reserve for
reads and writes? - CORRECT ANSWERS-True
In DynamoDB, you specify provisioned throughput requirements in terms of capacity units? - CORRECT
ANSWERS-True
One read capacity unit represents one X type of read per second, or two Y type of read per second? -
CORRECT ANSWERS-One strongly consistent read per second. Two eventually consistent reads per
second. For items up to 4 KB in size.
,Application needs to read 25 items of 13KB per second. App uses EVENTUALLY consistent reads. What
should you set read throughput to? - CORRECT ANSWERS-Calculate read capacity units (items up to 4
KB in size).
Multiply number of items by read capacity units.
Divide by two because EVENTUALLY consistent.
Answer: 50
A global secondary index contains a selection of attributes from the table, but are organized by a primary
key that is different from the table's? (T/F) - CORRECT ANSWERS-True
DynamoDB local secondary indexes are fixed at 10 per table? - CORRECT ANSWERS-False, local
secondary indexes are fixed at 5 per table.
Local secondary indexes give your table a choice of sort keys? - CORRECT ANSWERS-True
What are the three capacity unit sizes in DynamoDB? - CORRECT ANSWERS-One read capacity unit
represents one strongly consistent read per second, for items up to 4 KB in size.
One read capacity unit represents two eventually consistent reads per second, for items up to 4 KB in
size.
One write capacity unit represents one write per second for items up to 1 KB in size.
Using the AWS portal, you are trying to scale DynamoDB past preconfigured maximums. Which service
can be increased through AWS support? - CORRECT ANSWERS-Provisioned throughput limits
What are the steps for calculating write throughput? - CORRECT ANSWERS-Write capacity units are 1
KB per write.
Calculate items per second.
Multiply items per second by writes per item.
, You have a motion sensor which writes 600 items of data every minute. Each item is 5 KB. What should
write throughput be? - CORRECT ANSWERS-Calculate items per second.
Multiply items per second by write capacity units per item.
Answer: 50 provisioned write capacity units
What is the api call to receive multiple items from a DynamoDB table? - CORRECT ANSWERS-
BatchGetItem
You have a motion sensor which writes 600 items of data every minute. Each item consists of 5 KB. Your
application uses Strongly consistent reads. What should you set read throughput to? - CORRECT
ANSWERS-Calculate items per second.
Calculate read capacity units per item.
Strongly consistent reads are up to 4 KB per read.
Multiply items per second by read capacity units per item.
Answer: 20 provisioned read capacity units
You have a motion sensor which writes 600 items of data every minute. Each item consists of 5 KB. Your
application uses eventually consistent reads. What should you set the read throughput to? - CORRECT
ANSWERS-Calculate items per second.
Calculate read capacity units per item.
Eventually consistent reads give 2 reads for items up to 4 KB.
Answer: 10 provisioned read capacity units
Steps for calculating read throughput? - CORRECT ANSWERS-Calculate items per second.
Calculate read capacity units per item (4 KB).
Multiply items per second by read capacity units per item.
If eventually consistent, divide by two.
A scan is more efficient than query in terms of performance? (T/F) - CORRECT ANSWERS-False, a query
is more efficient that a scan in terms of performance.