nerdexam
Check_Point

156-521 · Question #158

156-521 Question #158: Real Exam Question with Answer & Explanation

Sign in or unlock 156-521 to reveal the answer and full explanation for question #158. The question stem and answer options stay visible for context.

Question

Which jq expression would you use to get all objects with the type "host" from a JSON response?

Options

  • Ajq '.[] | select(.type=="host")'
  • Bjq 'type == host'
  • Cjq '.objects | .type="host"'
  • Djq 'host.type==true'

Unlock 156-521 to see the answer

You've previewed enough free 156-521 questions. Unlock 156-521 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 156-521 Practice