Hashicorp Certified Consul Associate 002 · Free Practice Question Medium

Question 3

Based on the payload below, what Consul feature is being created with the API?

  • A

    service

  • B

    Consul agent

  • C

    service mesh intention

  • D

    prepared query

Reveal correct answer

Correct answer: D

Explanation

The payload in the question is the configuration of a prepared query. You can immediately tell that it's a prepared query since it includes a failover policy as well. Failover policies are only configured in a prepared query.

https://developer.hashicorp.com/consul/api-docs/query#create-prepared-query

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need