Docker Certified Associate (DCA) — Question 32

When an application being managed by UCP fails, you would like a summary of all requests made to the UCP API in the hours leading up to the failure.
What must be configured correctly beforehand for this to be possible?

Answer options

Correct answer: A

Explanation

The correct answer is A because configuring UCP audit logs to the ‘metadata’ or ‘request’ level allows for detailed tracking of API requests, which is essential for diagnosing issues post-failure. Options B and C do not specifically pertain to UCP audit logs, and option D relates to the logging level of a specific container, which does not provide the comprehensive request summary needed for analysis.