An HR agent calls a payroll connector. Each employee must see only their own payroll data. How should the connector authenticate?
- Exam domain
- Plan and configure agent solutions50–55% of the exam
- Difficulty
- Medium
- In this mock
- 26 questions on this domainPractise this domain
Why the exam asks this
Objective in the exam guide: Plan identity strategy
Picking the wrong identity is the most common way agents leak data.
Why A is the answer
User authentication for the tool
With user authentication, the tool runs as the person chatting, so the payroll system applies that person's permissions. Author or shared credentials can return data the user should never see.
Remember: Per-user data needs per-user authentication.
How it works
A tool can run with the end user's credentials or with credentials the author supplied.
Only user authentication lets the target system apply each person's own permissions.
Clues in the question
The words that point to the answer, and what each one tells you.
- only their own
- The call must carry the user's identity.
In detail
- Identity strategy decides whose permissions a tool call uses.
- Instructions cannot enforce data access. Permissions can.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. User authentication for the toolRight
Per-user data needs per-user authentication.
B. Agent author authentication, using the maker's own accountWrongMost tempting
Author credentials run with the maker's access and can leak other employees' data.
Why it tempts: It is the easiest to set up and works in testing, because the maker can see everything.
C. A shared service account with read access to all payroll recordsWrong
A shared account sees everything, so every user would too.
D. Anonymous access, with a rule in the instructions about privacyWrong
Instructions are not access control.
Use case
An illustrative scenario, not a real incident.
Illustrative: two employees ask for their last payslip. Each call runs under their own identity, so each sees only their own record.
See it in different ways
flowchart TD
Q{"Must results depend on who is asking?"}
Q -->|"Yes, per user data"| A0["User authentication"]
Q -->|"No, same public data for all"| A1["Author or service credentials"]How to read this chart
- At "Must results depend on who is asking?": if "Yes, per user data", go to "User authentication"; if "No, same public data for all", go to "Author or service credentials".
mindmap
root(("Tool identity"))
n1["User authentication"]
n2["Runs as the person chatting"]
n3["Their permissions apply"]
n4["Author authentication"]
n5["Runs as the maker"]
n6["Same results for everyone"]How to read this chart
- The centre is "Tool identity".
- "User authentication" covers "Runs as the person chatting", "Their permissions apply".
- "Author authentication" covers "Runs as the maker", "Same results for everyone".