exam questions

Exam DCA All Questions

View all questions & answers for the DCA exam

Exam DCA topic 1 question 2 discussion

Actual exam question from Mirantis's DCA
Question #: 2
Topic #: 1
[All DCA Questions]

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.
  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Community vote distribution
A (71%)
C (29%)

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Raji82
1 month, 1 week ago
Selected Answer: C
Should be C 'metadata' and 'request' are not log levels
upvoted 1 times
...
badalchavan11
2 months, 1 week ago
Selected Answer: A
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.
upvoted 3 times
...
__rajan__
2 months, 3 weeks ago
Selected Answer: A
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
upvoted 2 times
...
LavaPup
3 months, 3 weeks ago
Selected Answer: C
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
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
MD-102
Mumbai, 1 minute ago