Bird
Raised Fist0

Given this elasticsearch.yml snippet:

medium📝 Predict Output Q4 of Q15
Elasticsearch - Security
Given this elasticsearch.yml snippet:
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.http.ssl.enabled: true

What is the effect of these settings?
AEncrypts only HTTP communication, transport is unencrypted
BEncrypts both transport and HTTP communications with certificate verification
CDisables all encryption for transport and HTTP
DEncrypts transport but disables HTTP encryption
Step-by-Step Solution
Solution:
  1. Step 1: Analyze transport SSL settings

    Transport SSL is enabled with certificate verification mode set, so transport communication is encrypted and verified.
  2. Step 2: Analyze HTTP SSL setting

    HTTP SSL is enabled, so HTTP communication is encrypted.
  3. Final Answer:

    Encrypts both transport and HTTP communications with certificate verification -> Option B
  4. Quick Check:

    Both transport and HTTP encrypted with cert verification [OK]
Quick Trick: Enable both transport and HTTP SSL for full encryption [OK]
Common Mistakes:
MISTAKES
  • Assuming transport is unencrypted despite SSL enabled
  • Ignoring verification_mode setting
  • Thinking HTTP SSL is disabled

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes