AWS - DynamoDBIf a DynamoDB table has TTL enabled on attribute 'expireAt', what will happen if an item has no 'expireAt' attribute?AThe item will never expire automaticallyBThe item will expire immediatelyCThe item will cause an error on writeDThe item will be deleted after 24 hoursCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand TTL attribute requirementTTL only applies to items with the TTL attribute set.Step 2: Behavior for items missing TTL attributeItems without the TTL attribute do not expire automatically.Final Answer:The item will never expire automatically -> Option AQuick Check:Missing TTL attribute = no automatic expiry [OK]Quick Trick: No TTL attribute means no automatic expiration [OK]Common Mistakes:MISTAKESAssuming missing attribute causes immediate expiryThinking missing attribute causes errorsBelieving items expire after fixed time
Master "DynamoDB" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS Lambda - Lambda function concept - Quiz 10hard AWS Lambda - Creating a Lambda function - Quiz 9hard AWS Lambda - Lambda handler function structure - Quiz 15hard Auto Scaling - Launch templates - Quiz 11easy Auto Scaling - Scheduled scaling - Quiz 14medium Auto Scaling - Launch templates - Quiz 1easy Auto Scaling - Auto Scaling with ELB integration - Quiz 9hard DynamoDB - DynamoDB capacity modes (on-demand, provisioned) - Quiz 6medium DynamoDB - Partition key and sort key - Quiz 3easy Elastic Load Balancing - Network Load Balancer (NLB) - Quiz 13medium