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?
A.
UCP audit logs must be set to the ‘metadata’ or ‘request’ level.
Most Voted
B.
All engines in the cluster must have their log driver set to the ‘metadata’ or ‘request’ level.
C.
UCP logging levels must be set to the ‘info’ or ‘debug’ level.
D.
Set the logging level in the config object for the ucp-kube-api-server container to warning or higher.
The correct answer is:
A. UCP audit logs must be set to the ‘metadata’ or ‘request’ level.
Explanation:
To capture a summary of all requests made to the UCP (Universal Control Plane) API leading up to a failure, UCP audit logs must be enabled at the appropriate level. The metadata level records request metadata, while the request level provides detailed information about each API request. These logs enable you to trace API activity and diagnose the issue.
B. Incorrect: Log driver settings for the engines in the cluster are unrelated to UCP audit logs, as they are for container logs, not API logs.
C. Incorrect: UCP logging levels (e.g., info or debug) control the verbosity of general logs but do not provide detailed API request traces.
D. Incorrect: Changing the logging level for the ucp-kube-api-server affects Kubernetes API logs, not the UCP API logs.
UCP (Universal Control Plane) audit logging is a feature that records all API requests made to the UCP controllers.
To be able to review API requests made before a failure:
You need audit logging enabled
The logging level must be set to either 'metadata' or 'request'
'Request' level provides the most detailed information
Summary of UCP Logging Levels:
debug: Very detailed logs for troubleshooting.
info: General information, default for most environments.
warn: Warnings about potential issues.
error: Errors that affect functionality.
fatal: Critical failures preventing operation.
as per ChatGPT
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Raji82
1 month, 1 week agobadalchavan11
2 months, 1 week ago__rajan__
2 months, 3 weeks agoLavaPup
3 months, 3 weeks ago