Exam 156-521 Topic 1 Question 199 Discussion

Actual exam question for CheckPoint's 156-521 exam
Question #: 199
Topic #: 1
What does jq '.[0]' do when used on an array of JSON objects?

Suggested Answer: C Vote an answer

jq '.[0]' selects the first element of the JSON array, which is useful when only one result is needed or when parsing data like a list of network objects.

by Alfred at Oct 07, 2026, 11:16 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
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.

0
0
0
10