Google Cloud Certified Associate Cloud Engineer 2025 – 400 Free Practice Questions to Pass the Exam

Question: 1 / 400

Which flag is used with `kubectl` to specify the JSON path of properties in the JSON output?

-j

-p

-json

-o jsonpath

The -j flag stands for "output as json" and is used to get the output as JSON. The -p flag provides the property pattern is used to do partial match with the property name in the output. The -json flag is not a valid flag for `kubectl` and will result in an error. The correct flag to specify the JSON path of properties is -o jsonpath.

Get further explanation with Examzify DeepDiveBeta
Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy