Question 630
A Kubernetes administrator performs the following operation: Use kubectl logs -f on the correct Pod and container while sending authorized test requests. Which outcome most directly follows?
Explanation
Correct Answer
This is the intended effect of Follow a live application stream: New stdout and stderr events are observed as the process emits them.
Incorrect Answers
This effect belongs to Port-forward only localhost, produced by a different operation: Use an approved Service exposure method or explicitly controlled local binding rather than assuming localhost is public. It is not the direct consequence of the stated action.
This effect belongs to Container stdout versus file logs, produced by a different operation: Configure the application to emit its operational logs to stdout or stderr or deploy a supported log collector. It is not the direct consequence of the stated action.
This effect belongs to API admission webhook unavailable, produced by a different operation: Inspect the ValidatingWebhookConfiguration failurePolicy, Service, endpoint health and controller logs; restore the webhook. It is not the direct consequence of the stated action.