Question 157


An application uses the Amazon RDS Data API to write data to a PostgreSQL database that is hosted in an Amazon Aurora DB cluster. The application receives predefined SQL queries in batches. Each batch consists of a maximum of 10 queries. The application runs the SQL queries in a loop by using the ExecuteStatement API call. A developer observes that some queries fail. The developer must ensure that an automatic rollback happens whenever a query fails. Which solution will meet these requirements?

Checking access…

Discussion

Loading comments…

← Back to question bank