Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing

Question

An application hosted in a multicontainer Docker platform in Elastic Beanstalk uses DynamoDB to handle the session data of its users. These data are only used in a particular timeframe and the stale data can be deleted after the user logged out of the system. which of the following way to delete the session data?
  • Use conditional writes to add the session data to the DynamoDB table and then automatically delete it based on the condition you specify.
  • Enable TTL for the session data in the DynamoDB table.
  • Use atomic counter to track the validity of the session data and delete once it becomes stale.
  • Delete the stale data by regularly performing a scan on the table.
Answer- B