Consul 1.15 Health Checking Practice Question
You have configured a Script health check that executes a shell command. For security reasons, you want to restrict which scripts the Consul agent can run. What configuration setting must be set to 'false' in the agent configuration to disable script checks entirely?
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
✓
enable_script_checks
The 'enable_script_checks' configuration parameter must be set to false to prevent the agent from executing scripts defined in configuration files.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
allow_unprivileged_scripts
Why it's wrong here
This is not a valid Consul agent configuration option.
- ✗
disable_remote_exec
Why it's wrong here
Controls Consul's remote execution feature, not local script checks.
- ✓
enable_script_checks
Why this is correct
This flag controls the ability of the agent to execute scripts.
- ✗
enable_local_script_execution
Why it's wrong here
This is not a valid configuration key.
About these practice questions
This Consul 1.15 question is part of Courseiva's 194-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.