
Week 10

Quiz
•
Fun
•
3rd Grade
•
Medium

Selçuk Cesmeci
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
NoSQL Databases scale vertically.
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
DynamoDB can be replicated across multiple AZs
True
False
3.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
You have setup your DynamoDB with Provisioned Capacity Mode 5 RCU & 5 WCU. During a busy day on your application, your users started complaining about getting an exception. When you looked at your application, you see that users are indeed getting an exception called ProvisionedThroughputExceededException. Which of the following are true in this scenario?
Your application hit 5 RCU and 5 WCU limit and anything more that that cannot handle load.
Your application maxed out on 5 RCU and 5 WCU then used Burst Capacity as well but still it was not enough for the busy read and write traffic and DynamoDB started throwing the exception.
After 5 RCU & 5 WCU, dynamodb should’ve switched to Auto Scaling capacity. There is probably something else is going on in your application.
You should’ve just used RDBMS instead of DynamoDB. You start thinking about a big refactoring.
To avoid this situation, you should’ve implemented an exponential back-off strategy to limit number of users getting this exception and exhausting all your RCUs and WCUs including Burst Capacity.
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
You are building a new application and your client asked for a high performant architecture. You have decided that you’ll design the application around DynamoDB to take advantage of its performance. After your team has released the beta version, admins of the application on the client side started complaining about how they create a new item but then they cannot see the item in the list but once they refresh the page multiple times, they finally see the item they create. What could be the possible cause of this glitch?
DynamoDB is slow and sometimes it’s ok to see inconsistencies when entering data.
This is the standard behavior of DynamoDB. DynamoDB does eventually consistent reads.
There is probably an exception when admins create new items. You should debug your application to understand the root cause.
You probably forgot to include “ConsistentRead” parameter in your “List” query and in a Write/Read scenario, application may be reading from a different server that is still processing replication.
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
You are tasked with designing the Cost Model for a a specific application that expects reads and writes with no expectations of scaling. User Base is small and it’s for an internal dashboard that your client uses. Your maximum item size in this internal dashboard is 12 KB as it contains some text and some urls. It’s expected that there will be no more than 10 entries into the system and these items will be retrieved a maximum of 20 times per second. You decided you don’t need caching and you will use Provisioned Capacity Mode of DynamoDB. After some discussions, it has been decided that eventual read is sufficient for your client. What will be the RCUs and WCUs you will need to provision per second?
120 WCUs & 30 RCUs
1200 RCUs & 36 RCUs
12 WCUs & 24 RCUs
100 WCUs & 48 RCUs
6.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
You & your team built a multi-tenant application that uses DynamoDB as its data store that will serve multiple clients. You designed your DynamoDB table to partition based on client_id. After some time, there is a JIRA ticket opened that mentioned Client A users keep getting ProvisionedThroughputExceededException. You check logs and see that no other clients are experiencing this issue. Based on this information which of the following could be true?
It is probably a data corruption issue and when application is serializing/deserializing DynamoDB items, application is probably crashing.
You have not enforced size limit and Client A has large text blobs that exceeds 400 KB in size. Size of the items exhaust all RCUs and WCUs and Burst Capacity does not help in this situation.
Client A is on a different region therefore there is some latency for them.
Client A is using the system heavily and partitioning all information based on just client_id may not be enough. This may be causing a “Hot Partition” issue.
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
You worked on a part of an application that uses DynamoDB as its datastore. QE did not approve your changes due to a bug in your code. They complained, whenever they update a field on an item, they see that the whole item is replaced and all other fields other than the field they updated are nullified. What could be the possible cause of this bug?
You used a PATCH endpoint that partially updates the item. You see that instead of UpdateItem, you used PutItem in your repository class.
You forgot to add ConsistentRead flag on your read. So when QE looks at the item right after they update, they don’t see the changes right away.
You should always send the whole object to update fields but your endpoint is not built that way.
This is the side effect of using DynamoDB as there is no partial updates in DynamoDB.
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
LDS 40

Quiz
•
KG - Professional Dev...
14 questions
QUIZ S8

Quiz
•
KG - 12th Grade
9 questions
a little crazy quiz

Quiz
•
1st - 5th Grade
6 questions
qwertyuiop

Quiz
•
3rd Grade
10 questions
TPC 3102 - MODULE 7 QUIZ - GRP 5

Quiz
•
1st - 3rd Grade
15 questions
réceptionner et manuter epcd pont audemer

Quiz
•
KG - 3rd Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Fun
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Kids Movie Trivia

Quiz
•
3rd Grade
20 questions
Fun Trivia

Quiz
•
2nd - 4th Grade
20 questions
Fun Fun Friday!

Quiz
•
3rd - 5th Grade
20 questions
Guess the Disney Character

Quiz
•
3rd Grade
18 questions
Trivia Questions

Lesson
•
1st - 6th Grade
14 questions
Making Communities Better REVIEW

Quiz
•
3rd Grade