AWS DynamoDB Numerical Questions ❓
Related to the AWS DynamoDB:: These are the questions where “ Numericals ” being the answer to the Questions that we need to keep in mind …!
❓A DynamoDB table stores items with an average size of 1 KB. You want to read 100 strongly consistent items per second. How many RCUs are required?
Answer: 100 RCUs (1 RCU per strongly consistent read of an item up to 4 KB).
❓You have a DynamoDB table where each item is 8 KB in size. You need to perform 50 strongly consistent reads per second. How many RCUs do you need?
Answer: 100 RCUs (Each 8 KB item requires 2 RCUs for strongly consistent reads, so 50 reads * 2 RCUs = 100 RCUs).
❓A DynamoDB table stores items with an average size of 2 KB. You plan to perform 200 eventually consistent reads per second. How many RCUs are required?
Answer: 100 RCUs (Each 2 KB item requires 0.5 RCUs for eventually consistent reads, so 200 reads * 0.5 RCUs = 100 RCUs).
❓A table is configured with 200 RCUs. How many strongly consistent reads per second can it handle if each item is 4 KB?
Answer: 200 reads per second (1 RCU per 4 KB for strongly consistent reads).
❓You have a table with 500 RCUs configured. Each item is 1 KB in size. How many eventually consistent reads per second can the table handle?
Answer: 1000 reads per second (0.5 RCU per 1 KB for eventually consistent reads, so 500 RCUs * 2 = 1000 reads).
❓ A DynamoDB table has an average item size of 12 KB. How many RCUs are required to perform 10 strongly consistent reads per second?
Answer: 30 RCUs (Each 12 KB item requires 3 RCUs for strongly consistent reads, so 10 reads * 3 RCUs = 30 RCUs).
❓You need to write 100 items per second to a DynamoDB table, with each item being 3 KB in size. How many WCUs are required?
Answer: 100 WCUs (Each 3 KB item requires 1 WCU for writes, so 100 writes * 1 WCU = 100 WCUs).
❓A DynamoDB table stores items with an average size of 16 KB. How many RCUs are required to perform 50 eventually consistent reads per second?
Answer: 200 RCUs (Each 16 KB item requires 4 RCUs for eventually consistent reads, so 50 reads * 4 RCUs = 200 RCUs).
❓You need to write 25 items per second to a DynamoDB table, with each item being 6 KB in size. How many WCUs are required?
Answer: 50 WCUs (Each 6 KB item requires 2 WCUs for writes, so 25 writes * 2 WCUs = 50 WCUs).
❓What is the maximum size (in KB) of an item in DynamoDB?
Answer: 400 , Each item in DynamoDB can be up to 400 KB in size.
❓ What is the maximum number of global secondary indexes you can create per table?
Answer: 20 , You can create up to 20 global secondary indexes per table.
❓What is the maximum number of local secondary indexes you can create per table?
Answer: 5 , Each DynamoDB table can have up to 5 local secondary indexes.
❓What is the maximum number of attributes an item can have?
Answer: 65535 , Each item can have up to 65535 attributes.
❓What is the maximum length (in characters) for a partition key or sort key?
Answer: 2048 , The maximum length for a partition key or sort key is 2048 bytes when using UTF-8 encoding.
❓What is the maximum length (in characters) for a string attribute?
Answer: 400 , The maximum length for a string attribute is 400 KB, which equates to 400,000 characters if using 1-byte encoding.
❓How many strongly consistent read capacity units are required to read an item up to 4 KB in size?
Answer: 1 , 1 strongly consistent read capacity unit is required to read an item up to 4 KB in size.
❓How many eventually consistent read capacity units are required to read an item up to 4 KB in size?
Answer: 0.5 , 1 eventually consistent read capacity unit can read two items up to 4 KB in size, effectively halving the requirement to 0.5.
❓What is the maximum provisioned throughput (in write capacity units) for a single table in DynamoDB?
Answer: 40000 , The maximum provisioned throughput for a single table is 40,000 write capacity units.
❓What is the maximum provisioned throughput (in read capacity units) for a single table in DynamoDB?
Answer: 40000 , The maximum provisioned throughput for a single table is 40,000 read capacity units.
❓What is the maximum number of tables with on-demand mode you can create per AWS account?
Answer: 256 , You can create up to 256 tables with on-demand mode per AWS account.
❓What is the default limit for the number of DynamoDB tables you can create per AWS account?
Answer: 256 , The default limit is 256 tables per AWS account, but this can be increased by request.
❓What is the default maximum number of DynamoDB tables you can create in a region?
Answer: 256 , The default maximum is 256 tables per region, subject to account limits.
❓What is the maximum item size (in KB) for a DynamoDB transaction write request?
Answer: 400 , The maximum size for an item in a transaction write request is 400 KB.
❓What is the maximum number of items you can include in a DynamoDB batch write request?
Answer: 25 , You can include up to 25 items in a batch write request.
❓What is the maximum number of items you can retrieve in a single DynamoDB query operation?
Answer: 1000 , You can retrieve up to 1000 items in a single query operation.
❓What is the maximum number of attributes you can project into a global secondary index?
Answer: 20 , You can project up to 20 attributes into a global secondary index.
❓What is the maximum number of transaction operations (both read and write) you can include in a single DynamoDB transaction?
Answer: 25 , You can include up to 25 operations in a single transaction.
❓How many read capacity units are consumed by a transactional read request for an item up to 4 KB in size?
Answer: 2 , A transactional read request consumes 2 read capacity units.
❓How many write capacity units are consumed by a transactional write request for an item up to 1 KB in size?
Answer: 2 , A transactional write request consumes 2 write capacity units.
❓What is the maximum number of distinct data types supported by DynamoDB?
Answer: 10 , DynamoDB supports 10 distinct data types (Number, String, Binary, Boolean, Null, List, Map, String Set, Number Set, Binary Set).
❓What is the maximum size (in MB) of a DynamoDB stream record?
Answer: 24 , The maximum size of a stream record is 24 MB.
❓What is the maximum number of shards you can have in a DynamoDB stream?
Answer: 1000 , The maximum number of shards in a DynamoDB stream is 1000.
❓What is the maximum number of Lambda functions you can trigger from a DynamoDB stream?
Answer: 5 , You can configure up to 5 Lambda functions to process records from a DynamoDB stream.
❓What is the maximum number of expressions you can use in a single DynamoDB query filter?
Answer: 20 , You can use up to 20 expressions in a query filter.
❓What is the maximum number of partitions for a single DynamoDB table?
Answer: 10 , The initial maximum number of partitions is 10, but this can increase as the table grows.
❓What is the maximum number of conditions you can use in a DynamoDB conditional write request?
Answer: 1 , Each conditional write request can include only one condition.
❓What is the maximum length (in characters) for a DynamoDB table name?
Answer: 255 , The maximum length for a table name is 255 characters.
❓What is the maximum length (in bytes) for a DynamoDB attribute name?
Answer: 255 , The maximum length for an attribute name is 255 bytes.
🥷Enjoy your Learning and Please comment if you feel — any other similar questions we can add to this page..!
Thank you much for reading📍
“ Yours Love ( @lisireddy across all the platforms )