Consul 1.15 Multi Datacenter Federation Practice Question
When using 'prepared_queries' for cross-datacenter failover, what does the 'failover' block allow you to specify?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
A list of datacenters to attempt for service resolution.
The 'failover' block in a prepared query allows you to define a list of datacenters to try if the local datacenter lookup returns no healthy instances.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The timeout for the WAN gossip.
Why it's wrong here
Gossip parameters are global agent settings.
- ✓
A list of datacenters to attempt for service resolution.
Why this is correct
This is the primary function of the failover block.
- ✗
The encryption algorithm for failover traffic.
Why it's wrong here
Encryption is configured at the agent level.
- ✗
The number of retries per node.
Why it's wrong here
Retries are handled by the load balancer or client code.
About these practice questions
Courseiva writes every Consul 1.15 question from scratch — 194 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official HashiCorp exam blueprint
This Consul 1.15 practice question is part of Courseiva's free HashiCorp certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Consul 1.15 exam.