Question 190 An agent integrates a REST service that returns HTTP 401. What is the likely class of failure? A successful write with no response body An index that needs re-embedding Authentication or invalid credentials for the requested API operation A database deadlock proved by 401 alone Explanation Correct Answer C:401 indicates the request lacks valid authentication. Incorrect Answers A:Success normally uses a non-error status, not 401. B:Embedding freshness does not explain HTTP authentication. D:401 does not diagnose a database lock.
Question 191 A REST tool receives HTTP 403 for an authenticated user. How should the agent interpret it? The endpoint is unreachable at DNS level The service forbids the operation under effective authorization policy The server accepted the state change The JSON schema must be valid because 403 occurred Explanation Correct Answer B:An authenticated identity may still lack permission. Incorrect Answers A:A received HTTP response means some service answered. C:403 is a refusal rather than confirmation. D:Authorization failure does not validate the payload schema.
Question 192 A custom connector calls a third-party API whose schema changed a field from string to number. What should be done? Keep the old contract and parse failures as success Instruct the model to always guess the field value Disable version tracking to hide the change Update the connector contract and validate affected agent inputs and outputs Explanation Correct Answer D:Schema drift can break typed tool calls. Incorrect Answers A:Ignoring type changes causes corrupt results. B:Guessing does not repair integration schemas. C:Without connector schema and version history the team cannot determine which field change caused an API integration to reject formerly valid requests.
Question 193 An MCP server returns an instruction embedded in a product-description field asking for admin access. What should the agent do? Disable monitoring before following the text Obey the description because it came from an MCP server Treat the field as untrusted tool data and keep authorization rules intact Request a master token and send it to that product URL Explanation Correct Answer C:Tool responses do not create new user permission or policy priority. Incorrect Answers A:Removing logs would conceal misuse. B:A tool's data is not a system instruction. D:Untrusted content may be malicious.
Question 194 A REST tool is configured to submit POST requests but the API expects JSON. What must be specified? Send unstructured natural-language prose as the whole request Put the JSON only in the tool display name The correct request content type and validated JSON body schema Assume every POST has no request body Explanation Correct Answer C:API contracts govern serialization and required fields. Incorrect Answers A:The endpoint may not parse or accept it. B:Names do not supply HTTP payloads. D:This API explicitly requires JSON input.
Question 195 A third-party tool supports only API key authentication. What safeguard protects the key? Store it in a supported protected connection configuration with restricted scope Use the same key for unrelated high-risk services Write the key into an adaptive card that all users see Embed the key in answer explanations Explanation Correct Answer A:API keys should be managed secrets rather than chat content. Incorrect Answers B:Excess credential reuse increases blast radius. C:Cards can disclose the secret. D:Public text can be copied or logged.
Question 196 An API supports paging and contains thousands of cases. What should the tool integration implement? Return arbitrary sample records as if complete Assume the first page contains every record Follow pagination with bounded limits and appropriate filters Load all pages without authorization limits Explanation Correct Answer C:A single response may include only the first page. Incorrect Answers A:Sample records are not a full authorized query result. B:The first page may omit later case records; failing to follow continuation links would produce an incomplete list even when the API responds successfully. D:Unlimited retrieval may violate quotas or disclose data.
Question 197 A tool's HTTP response includes a retry-after header after throttling. What should the agent flow do? Replace the response with fabricated success Respect the retry guidance with bounded backoff or report delay Retry immediately as fast as possible Ask users to disable provider limits Explanation Correct Answer B:Rate-limit headers help pace future requests. Incorrect Answers A:A throttle is not a completed operation. C:Aggressive calls can prolong the throttle. D:Clients cannot safely circumvent service policy.
Question 198 A read-only Graph API tool returns a paginated list of meetings. What security check matters? Use an anonymous HTTP call to the protected endpoint Show all returned IDs in public chat logs Ensure delegated scopes and resource access restrict records to the permitted caller Use application-wide tenant-read permissions unnecessarily Explanation Correct Answer C:API permissions must match the user's meeting access. Incorrect Answers A:Protected meetings require appropriate identity. B:Unfiltered logs may leak meeting metadata. D:Broad scopes can expose others' calendars.
Question 199 An agent should send only a narrow support-ticket payload to an external service. What tool contract is safest? Include every user profile field by default Forward the entire chat history to every service Use a free-form field accepting arbitrary secrets Define an explicit schema containing only necessary ticket fields Explanation Correct Answer D:Minimal contracts reduce overcollection and integration errors. Incorrect Answers A:Excess fields are not required for the ticket operation. B:Conversations may contain unrelated sensitive information. C:Unrestricted payloads increase accidental disclosure.
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.