0
0
DynamoDBquery~20 mins

Export to S3 in DynamoDB - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
DynamoDB Export Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
query_result
intermediate
2:00remaining
What is the output of this DynamoDB export command?
You run the following AWS CLI command to export a DynamoDB table to S3:

aws dynamodb export-table-to-point-in-time --table-arn arn:aws:dynamodb:us-east-1:123456789012:table/Books --s3-bucket my-export-bucket --export-format DYNAMODB_JSON

What will be the result of this command?
ACreates a backup of the table inside DynamoDB but does not export to S3.
BImmediately downloads the entire table data to your local machine in JSON format.
CDeletes the DynamoDB table after exporting its data to S3.
DStarts an export job that saves the table data in DynamoDB JSON format to the specified S3 bucket.
Attempts:
2 left
💡 Hint
Think about what the export-table-to-point-in-time command does with the S3 bucket.
🧠 Conceptual
intermediate
2:00remaining
Which of these is required to export a DynamoDB table to S3?
To export a DynamoDB table to an S3 bucket, which of the following is a mandatory requirement?
AThe DynamoDB table must be encrypted with a customer-managed key.
BThe export operation requires the table to be in read-only mode.
CThe S3 bucket must be in the same AWS region as the DynamoDB table.
DThe S3 bucket must have versioning disabled.
Attempts:
2 left
💡 Hint
Think about AWS region restrictions for export operations.
📝 Syntax
advanced
2:00remaining
Which AWS CLI command correctly exports a DynamoDB table to S3 in Parquet format?
Choose the correct AWS CLI command to export a DynamoDB table named 'Orders' to an S3 bucket 'my-orders-bucket' in Parquet format.
Aaws dynamodb export-table-to-point-in-time --table-arn arn:aws:dynamodb:us-east-1:123456789012:table/Orders --s3-bucket my-orders-bucket --export-format PARQUET
Baws dynamodb export-table --table-name Orders --bucket my-orders-bucket --format parquet
Caws dynamodb export-to-s3 --table Orders --bucket my-orders-bucket --format parquet
Daws dynamodb export-table-to-point-in-time --table-name Orders --s3-bucket my-orders-bucket --export-format JSON
Attempts:
2 left
💡 Hint
Check the exact command name and parameter names for exporting tables.
optimization
advanced
2:00remaining
How to minimize costs when exporting large DynamoDB tables to S3?
You have a large DynamoDB table and want to export it to S3 with minimal cost. Which approach helps reduce costs?
AExport only a point-in-time snapshot instead of continuous backups.
BExport the table multiple times per hour to keep data fresh.
CUse on-demand backups instead of export to S3.
DExport the table to an S3 bucket in a different AWS region.
Attempts:
2 left
💡 Hint
Think about how export jobs and backups are billed.
🔧 Debug
expert
2:00remaining
Why does this DynamoDB export command fail with AccessDeniedException?
You run:

aws dynamodb export-table-to-point-in-time --table-arn arn:aws:dynamodb:us-east-1:123456789012:table/Users --s3-bucket my-secure-bucket --export-format DYNAMODB_JSON

But get an AccessDeniedException error. What is the most likely cause?
AThe S3 bucket name contains uppercase letters which are not allowed.
BThe IAM role used does not have permission to write to the specified S3 bucket.
CThe export format DYNAMODB_JSON is not supported.
DThe DynamoDB table does not exist in the specified region.
Attempts:
2 left
💡 Hint
AccessDeniedException usually relates to permissions.