Skip to interview prep
Apexed

52. A document-reading agent follows instructions embedded in an uploaded file and proposes an unrelated action. How should the product scope change?

HardAI products

Case
Show model answer

Treat the document as untrusted content, not authority to change the agent's task or permissions. Work with engineering and security to separate task instructions from external material and constrain available tools.

Require independent validation and appropriate approval before consequential actions. Test indirect instruction attempts and blocked-action recovery; a warning in the interface alone does not establish that the action boundary is enforced.

What interviewers listen for

  • Treat external content as untrusted
  • Constrain tools and permissions
  • Validate consequential actions independently
A document-reading agent follows instructions embedded in an uploaded file and proposes an unrelated action. How should the product scope change — Product manag