exam questions

Exam KCNA All Questions

View all questions & answers for the KCNA exam

Exam KCNA topic 1 question 111 discussion

Actual exam question from Linux Foundation's KCNA
Question #: 111
Topic #: 1
[All KCNA Questions]

Which of the following is a valid PromQL query?

  • A. SELECT * from http_requests_total WHERE job=apiserver
  • B. http_requests_total WHERE (job="apiserver")
  • C. SELECT * from http_requests_total
  • D. http_requests_total(job="apiserver")
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
miskill
2 months, 1 week ago
Selected Answer: D
D is correct but the right way to write it is: http_requests_total{job="apiserver"}
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...