Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
You are designing a single-site indexer cluster with six peers. The cluster starts out healthy, meeting both factors. Requirements: (1) no data is lost if two peers fail at the same time; (2) if one peer fails, all data is searchable as soon as the manager reassigns primary copies, without waiting for replacement copies or index-file rebuilds; (3) disk usage is as low as possible while meeting (1) and (2). Which settings should you configure on the manager node?
- Areplication_factor = 2, search_factor = 2
- Breplication_factor = 3, search_factor = 2
- Creplication_factor = 3, search_factor = 1
- Dreplication_factor = 3, search_factor = 3
Show answer and explanation
Answer:B Surviving two simultaneous failures needs RF=3, keeping a searchable copy after one failure needs SF=2, and anything higher only adds storage.
Why it is correct
The replication factor is the number of bucket copies the cluster keeps; it can lose up to RF−1 peers without losing data, so two simultaneous failures require RF=3. The search factor is the number of searchable copies (with index files); with SF=2, at least one searchable copy survives a single peer failure, so once the manager reassigns it as primary, searches work without waiting for index files to be rebuilt. Searchable copies are larger than raw-data-only copies, so SF=3 would use more disk than necessary.
The other options
- ✗ A With only two copies, a bucket whose two copies sit on the two failed peers is lost. Use this when surviving a single peer failure is enough and storage must be kept down.
- ✗ C There is only one searchable copy, so when its peer fails, that bucket cannot be searched until index files are rebuilt for another copy. Use this when data must be preserved but incomplete results for a while after a failure are acceptable.
- ✗ D RF=3, SF=3 meets requirements 1 and 2, but every copy carries index files, so it uses more disk than RF=3, SF=2 and fails requirement 3. Use it when data must become searchable again through primary reassignment alone even after two peers fail.
Key takeaway
RF → how many peer failures you survive without data loss (RF−1). SF → whether data becomes searchable again through primary reassignment alone (up to SF−1 failures). SF can never exceed RF, and every increase costs disk.
Try 20 questions like this for free
itmoshi is an unofficial study service and is not affiliated with Splunk or any exam provider.