Amazon Web Services: Developer Associate Final Exam Prep |100% Correct Answers|
Amazon Web Services: Developer Associate Final Exam Prep |100% Correct Answers| SQS guarantees deliver but there can be duplicates. True or False? *Ans* True What is the maximum number of SWF domains allowed in an AWS account? *Ans* 100 Company B has created an e-commerce site using DynamoDB and is designing a products table that includes items purchased and the users who purchased the item. When creating a primary key on a table, what would be the best attribute for the primary key? *Ans* user_id where there are many users to few products In DynamoDB, an atomic counter allows all write requests to be applied in the order they are received by incrementing or decrementing the attribute value. True or False? *Ans* True Company B is writing 10 items to the products table every second. Each item is 15.5Kb in size. What would be the required provisioned write throughput for best performance? Explain. *Ans* 160. For write capacity, the rule is to divide the item size by 1KB. Hence we need to divide 15.5 by 1 which gives us 16 to the nearest 1KB. Since we are writing 10 items per second, we need to multiply 10*16= 160. Company B is using strongly consistent reads to request 50 items per second from their customer table. Each item is 20KB in size. What throughput would be required to efficiently handle the read throughput of the table? Explain. *Ans* 250. For read capacity, the rule is to divide the item size by 4KB. Hence we need to divide 20 by 4 which gives us 5 to the nearest 4KB. Since we are writing 50 items per second, we need to multiply 50*5=250. In DynamoDB, how many tables can an AWS account have per region? *Ans* 256 Which of the following is not a benefit of a query over a scan? -Returns all attributes on an item -It does not do consistent reads -Much more efficient because it searches indexes only -Returns the items matching the primary key *Ans* It does not do consistent reads Which API call can be used to retrieve up to 100 items at a time or 1MB of data from a DynamoDB table? *Ans* BatchGetItem For best performance when retrieving data from a table, what "type" of API call should you perform? *Ans* Query What is the primary difference between a global secondary index and a local secondary index? *Ans* A local secondary index has the same partition key as the primary key and the global secondary index has a diff
Written for
- Institution
- Amazon
- Course
- Amazon
Document information
- Uploaded on
- May 27, 2024
- Number of pages
- 14
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
amazon web services developer associate final ex
Also available in package deal