Bird
Raised Fist0

You want to protect sensitive customer data in Elasticsearch so only users with the 'customer_read' role can view it. Which setup best achieves this?

hard🚀 Application Q15 of Q15
Elasticsearch - Security
You want to protect sensitive customer data in Elasticsearch so only users with the 'customer_read' role can view it. Which setup best achieves this?
ACreate a role with 'read' privilege on the customer data index and assign it to users.
BCreate a role with 'write' privilege on all indices and assign it to users.
CDisable security to allow all users to access data freely.
DCreate a role with 'manage' privilege on the cluster only.
Step-by-Step Solution
Solution:
  1. Step 1: Define the goal for data protection

    Only users with 'customer_read' role should view sensitive customer data.
  2. Step 2: Choose the correct role setup

    A role with 'read' privilege on the customer data index limits access to viewing only, assigned to authorized users.
  3. Step 3: Eliminate incorrect options

    'Write' privilege allows changes, disabling security removes protection, and 'manage' privilege controls cluster, not data access.
  4. Final Answer:

    Create a role with 'read' privilege on the customer data index and assign it to users -> Option A
  5. Quick Check:

    Read role + assign users = protected data access [OK]
Quick Trick: Assign read role to users for safe data viewing [OK]
Common Mistakes:
MISTAKES
  • Giving write instead of read privileges
  • Disabling security thinking it helps
  • Confusing cluster management with data access

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes