Question 200 An agent has a file upload tool and a public URL-fetch tool. Which prompt-injection boundary matters? Disable upload access checks once retrieval succeeds Allow any retrieved page to choose file recipients External pages may suggest tool calls but cannot authorize sending private files Treat webpage instructions as user consent Explanation Correct Answer C:Untrusted source text must not control privileged exfiltration. Incorrect Answers A:A web lookup doesn't confer file-write privileges. B:That could leak internal documents. D:Third-party content isn't the user's authorization.
Question 201 A developer tests an MCP server that returns unexpected tools after an update. What should be reviewed? Assume new tools have the same risk as old ones Erase the last known inventory Automatically enable every unfamiliar operation Current exposed tool inventory and the allowed subset before deployment Explanation Correct Answer D:Server updates can expand capabilities beyond the prior approved list. Incorrect Answers A:New actions may be privileged or destructive. B:Without comparison changes cannot be audited. C:Broad exposure creates unnecessary risk.
Question 202 A tool requires OAuth scopes that are wider than the agent task needs. What should be done? Grant tenant-wide administrator permissions as default Avoid documenting scopes in the integration plan Request least-privileged scopes and test the required operation Use a copied user token with unrelated scopes Explanation Correct Answer C:Scope minimization reduces accidental access. Incorrect Answers A:Broad rights are unnecessary for narrow requests. B:Undocumented privileges are hard to review. D:Token reuse can violate consent and permissions.
Question 203 A customer service agent has two tools named 'GetOrder' and 'SubmitOrder' with similar descriptions. What will reduce selection mistakes? Differentiate read-only retrieval from state-changing submission in tool metadata Rename both tools to 'Order' Hide the difference in an image Expose submission whenever any order is mentioned Explanation Correct Answer A:Clear descriptions and invocation rules help prevent accidental purchases. Incorrect Answers B:Identical tool descriptions conceal the important read-only versus write distinction and increase the risk that a simple status query will invoke an order submission. C:A visual does not improve tool selection metadata. D:Information requests are not order consent.
Question 204 An MCP tool asks for an API key in the query string. What risk should developers consider? Query keys are never visible to any infrastructure Query parameters can be logged by intermediaries and require strict secret handling Auth transport means the API needs no access reviews It is safe to paste the key into a public source-code example Explanation Correct Answer B:A secret in a URL is more likely to appear in request logs. Incorrect Answers A:URLs may be recorded by services and proxies. C:Credential possession still requires governance. D:Public code can leak live credentials.
Question 205 A REST endpoint responds with a 202 status and a job identifier. What should the agent infer? The operation has certainly finished The tool can fabricate completion data immediately The API rejected the job for missing authorization The task was accepted for asynchronous processing, not necessarily completed Explanation Correct Answer D:Accepted work needs later status confirmation. Incorrect Answers A:202 does not guarantee final completion. B:No final output is yet available. C:That would normally be represented differently.
Question 206 A tool returns a date in milliseconds since epoch while a topic expects ISO text. What needs handling? Ignore the time field entirely in every result Convert with the documented unit and timezone before exposing the value Add an arbitrary locale string and call it fixed Treat the integer as an ISO date already Explanation Correct Answer B:Misreading milliseconds as seconds produces a wrong date. Incorrect Answers A:The use case requires the timestamp. C:A locale label does not convert units. D:Epoch numbers are not ISO strings.
Question 207 An agent uses custom connectors across development and production. How should backend endpoints differ? Hardcode production credentials into the development agent Let testers edit production connection secrets Use a single public unrestricted endpoint for both Use environment-specific configuration with controlled connection references Explanation Correct Answer D:Environment separation prevents tests from writing to production. Incorrect Answers A:That exposes live systems during testing. B:Testers should not hold broad production privileges. C:Using one unrestricted endpoint for development and production can direct tests to live systems and prevent scoped connection and credential isolation.
Question 208 A computer-use tool must read a dynamically changing web form before entering a tax identifier. Which strategy is defensible? Inspect current field labels and verify the target form before typing Disable confirmation even when the form changes Send the identifier to every visible input Type into the same screen coordinate every run Explanation Correct Answer A:Dynamic interfaces require fresh grounding for each consequential action. Incorrect Answers B:Unverified changes can misroute sensitive information. C:Overpopulation may expose sensitive data. D:Layout shifts can place the value in the wrong field.
Question 209 An agent needs to monitor a long-running API job. Which integration path fits? Assume elapsed time means success Show the initial acceptance as final output Poll a documented status endpoint or consume approved completion events with correlation ID Repeat the create-job POST for status Explanation Correct Answer C:Async jobs need authoritative completion signals. Incorrect Answers A:Duration does not prove a job completed. B:Acceptance and completion are different states. D:Reposting can launch duplicate jobs.
Question 210 A tool calls a service that sometimes sends malformed JSON with HTTP 200. What should the orchestrator do? Invent missing fields from prompt context Assume any 200 response is valid structured data Handle schema parsing errors by returning the most recent successful API payload Validate response structure and handle parse failures separately from HTTP status Explanation Correct Answer D:A success status does not guarantee a conforming payload. Incorrect Answers A:Fabricated payloads misrepresent the service. B:Malformed bodies can still arrive under 200. C:An earlier user's payload would be unrelated and could disclose confidential data.