AWS SQS long polling allows the SQS service to wait until true
a message is available in the queue before sending a
response?
A visibility timeout is a period of time during which AWS true
SQS prevents other consuming components from
receiving and processing the message?
What AWS service can you use to "fan out" SQS SNS
messages to multiple queues?
(SQS) What is the maximum long poll timeout? 20 seconds
You have a fleet of EC2 instances that are constantly Enable SQS long polling
polling empty SQS queues which is burning CPU complete
cycles. What should you do?
What is the default SQS visibility time out? 30 seconds
EC2 instances download jobs from SQS queue, but are ChangeMessageVisibility
taking too long to process. What api call can you use to
the length of time to process jobs?
(SQS) You are designing a new app which processes Use 2 SQS queues. Poll that payment queue first.
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?
An SQS message can NOT be delivered multiple times? False, SQS messages can be delivered multiple times
What is the default visibility timeout for SQS? 30 seconds
How long can SQS messages be? Messages can contain up to 256 KB of text in any format
SQS was the second service on AWS? False, SQS was the first
DynomaDB writes are measured in 2 KB per write? False, they are measured in 1 KB per write.
What are the two consistency models used when reading Eventually Consistent and Strongly consistent
data from DynamoDB?
, AWS Certified Developer - Associate Test
DynamoDB is a NoSQL database by AWS? True
You have an app that needs 25 items of 13KB per second. Calculate read capacity units (items up to 4 KB in size)
Your app uses STRONGLY consistent reads. What should Multiply number of items by read capacity units
the throughput be set to? (Math problem) Do NOT divide by 2 because strongly consistent
Answer: 100
One read capacity unit represents one strongly consistent True
read per second, or two eventually consistent reads per
second, for items up to 4 KB in size?
When you create a table, you specify how much True
provisioned throughput capacity you want to reserve for
reads and writes?
In DynamoDB, you specify provisioned throughput True
requirements in terms of capacity units?
One read capacity unit represents one X type of read per One strongly consistent read per second. Two eventually consistent reads per
second, or two Y type of read per second? second. For items up to 4 KB in size.
Application needs to read 25 items of 13KB per second. Calculate read capacity units (items up to 4 KB in size).
App uses EVENTUALLY consistent reads. What should Multiply number of items by read capacity units.
you set read throughput to? Divide by two because EVENTUALLY consistent.
Answer: 50
A global secondary index contains a selection of attributes True
from the table, but are organized by a primary key that is
different from the table's? (T/F)
DynamoDB local secondary indexes are fixed at 10 per False, local secondary indexes are fixed at 5 per table.
table?
Local secondary indexes give your table a choice of sort True
keys?
What are the three capacity unit sizes in DynamoDB? 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 Provisioned throughput limits
past preconfigured maximums. Which service can be
increased through AWS support?
What are the steps for calculating write throughput? 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 Calculate items per second.
every minute. Each item is 5 KB. What should write Multiply items per second by write capacity units per item.
throughput be? Answer: 50 provisioned write capacity units