Bird
0
0

What will be the output of kubectl version --client --short after a successful kubectl installation?

medium📝 Command Output Q5 of 15
Kubernetes - Fundamentals
What will be the output of kubectl version --client --short after a successful kubectl installation?
AClient Version: v1.x.x
BServer Version: v1.x.x
CError: version command not found
DClient and Server Version: v1.x.x
Step-by-Step Solution
Solution:
  1. Step 1: Understand the flags

    --client shows only client version; --short gives concise output.
  2. Step 2: Predict output

    The output will be a line like Client Version: v1.x.x. Server version is not shown with --client.
  3. Final Answer:

    Client Version: v1.x.x -> Option A
  4. Quick Check:

    kubectl version --client shows client version only [OK]
Quick Trick: Use --client to see only kubectl version [OK]
Common Mistakes:
  • Expecting server version with --client
  • Confusing full and short output
  • Assuming error on version command

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes