Consul 1.15 · domain
Key Value Store
Practise HashiCorp Certified: Consul Associate (Consul 1.15) (Consul 1.15) Key Value Store practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.
Focused practice
Practice Key Value Store questions
Scored sessions drawing only from this domain — pick a length below.
Start 20-question practice test →What this domain covers
What to know about Key Value Store
Key Value Store questions test whether you can apply the concept in context, not just recognise a definition.
How the topic appears in realistic exam-style scenarios.
Which detail in the question changes the correct answer.
How to eliminate plausible but wrong options.
How to connect the question back to the wider exam objective.
Watch out for
Common Key Value Store exam traps
- ▸Answering from memory before reading the full scenario.
- ▸Missing a constraint such as cost, availability, security, scope or command context.
- ▸Choosing a broad answer when the question asks for the most specific fix.
- ▸Ignoring why the wrong options are tempting.
Question index
All Key Value Store questions (38)
Click any question to see the full explanation, or start a practice session above.
What is the default value for the Consul KV flags field if not provided during a write?
Easy2Which Consul agent configuration parameter defines the KV store file location when running locally?
Easy3You need to perform a write operation to the Consul KV store that only succeeds if the current ModifyIndex of the key is zero. Which parameter should you include in your API call?
Medium4Which THREE of the following represent potential bottlenecks for Consul KV performance?
Hard5You observe that a session lock is being released unexpectedly. What is the most likely cause?
Hard6What is the purpose of the 'Behavior' field when creating a Consul session?
Medium7Which HTTP method is used to create or update a key in the Consul KV store?
Easy8Which THREE of the following fields are returned in a typical Consul KV API GET response?
Medium9You are configuring a Consul Watch to trigger a script whenever a specific KV key changes. Which type of watch should you define in your configuration file?
Medium10Which command-line interface command is used to set a value in the Consul KV store?
Easy11Which THREE of the following are true about Consul KV keys?
Easy12You want to delete a key and all its children in the KV store using the CLI. Which flag should you use?
Medium13Which Consul API endpoint is used to create a new session that can be used for locking KV keys?
Medium14When using the Consul KV store, what is the maximum size allowed for a single value in a key?
Easy15When providing a session TTL, what is the minimum duration allowed?
Medium16What happens if you try to write to a key that is currently locked by a session you do not own?
Easy17You need to ensure that a read operation from the KV store is strongly consistent. Which consistency mode should you specify?
Hard18Which flag can be used to pass arbitrary metadata to a KV entry?
Easy19Which THREE of the following are standard Consul KV CLI subcommands?
Easy20Which TWO of the following are valid ways to trigger a KV watch?
Medium21Which TWO of the following are true regarding Consul KV watches?
Hard22You are using a Consul Watch to monitor KV changes. What does the 'handler' field specify?
Medium23When a session is associated with a lock, what happens to the lock if the session is deleted?
Medium24Which TWO of the following are true about the 'cas' parameter in KV writes?
Medium25What happens to a session if the associated node is marked as 'failed' by the Consul health check?
Hard26You want to perform a blocking query on a KV key to watch for updates. Which parameter must you provide in your request based on the last observed index?
Medium27When using Consul KV for distributed locking, why is it recommended to use a session?
Hard28An application is using Consul KV to store configuration. You notice that the KV store is becoming large. What is the most efficient way to retrieve only the keys under the prefix "service/web/"?
Easy29If a KV operation returns a 403 Forbidden status, what is the most common cause?
Hard30You have implemented a leader election mechanism using Consul KV sessions. The session has a TTL of 15 seconds. If the application crashes, how long will it take for the lock to be automatically released?
Hard31If a Consul agent is configured with 'disable_remote_exec = true', how does this affect the KV store?
Hard32Which THREE of the following are valid session behaviors when a session is invalidated?
Hard33Which TWO of the following are true regarding the behavior of the Consul KV store?
Hard34You need to retrieve the session information for a specific session ID. Which endpoint should you query?
Medium35You want to perform a list operation on a KV prefix to see all keys, but you don't want the values returned. Which API parameter helps reduce payload size?
Medium36Which Consul feature allows you to observe the KV store for changes and run a command in response?
Easy37Which THREE of the following are required to successfully acquire a lock on a KV key?
Medium38Which TWO of the following are common use cases for the Consul KV store?
EasyOther domains
All Consul 1.15 exam domains
Frequently asked questions
- What does the Key Value Store domain cover on the Consul 1.15 exam?
- Key Value Store questions test whether you can apply the concept in context, not just recognise a definition.
- How many questions are in this domain?
- This page lists all 38 Key Value Store questions in the Consul 1.15 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
- What is the best way to practise this domain?
- Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
- Can I practise only Key Value Store questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.