When testing an API that aggregates data from multiple large databases, what key aspect would you focus on to ensure data consistency?

  • Transaction management across multiple databases
  • Data encryption during transmission
  • Load balancing for even data distribution
  • API rate limiting for data synchronization
Ensuring proper transaction management across multiple databases is crucial to maintain data consistency. This involves using mechanisms like two-phase commit to ensure that data changes are either committed or rolled back consistently across all databases. Other options address different aspects of API testing but do not directly relate to data consistency.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *