Cisco 200-901 Practice Test 13
Question 120
For an original CCNA Automation educational scenario, consider: A security team must restore a prior known-good inventory parser without erasing unrelated valid work merged after that version. Select TWO complementary steps: the targeted correction and its strongest prechange validation.
- Reset and force-push the entire shared production branch to an old hash without checking other merged changes.
- Change: Trace the offending change through Git history and use a reviewed revert or targeted corrective commit rather than rewriting shared history.
- Check: Trace whether a data update is owned by the model and whether subscribers receive one event without creating circular or duplicate updates.
- Check: Locate the relevant commit and diff, validate impact on dependent files and execute a test deployment of the proposed revert in staging.
- Change: Match the documented serialization format to each consumer and preserve typed arrays, mappings and scalar values during conversion.
Explanation
Correct Answer
B:Version-control history supports reproducible diffs, accountability and safe undo; reverting a commit adds an inverse change without deleting later shared commits. Acceptance: The bad change is reversed with an auditable commit and unrelated approved changes remain present.
D:Version-control history supports reproducible diffs, accountability and safe undo; reverting a commit adds an inverse change without deleting later shared commits. Required intervention: Trace the offending change through Git history and use a reviewed revert or targeted corrective commit rather than rewriting shared history.
Incorrect Answers
A:Version-control history supports reproducible diffs, accountability and safe undo; reverting a commit adds an inverse change without deleting later shared commits.
C:Check: Trace whether a data update is owned by the model and whether subscribers receive one event without creating circular or duplicate updates. Version-control history supports reproducible diffs, accountability and safe undo; reverting a commit adds an inverse change without deleting later shared commits.
E:Change: Match the documented serialization format to each consumer and preserve typed arrays, mappings and scalar values during conversion. A security team must restore a prior known-good inventory parser without erasing unrelated valid work merged after that version.
Question 121
A network automation engineer is examining this network automation situation: An inventory client needs to list devices but sends DELETE to a documented read-only devices endpoint, risking an unintended change. A proposed shortcut is: Send a destructive DELETE whenever the task calls for reading a device inventory because all methods reach the same URL. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Send a destructive DELETE whenever the task calls for reading a device inventory because all methods reach the same URL.
- Set Accept and Content-Type according to the endpoint contract and choose a response parser using the returned media type.
- Choose the documented endpoint path and appropriate GET POST PATCH PUT or DELETE method for the intended resource operation and required payload.
- Separate credential validity from resource authorization and correct the specific token, scope or role mismatch established by the documented response.
Explanation
Correct Answer
C:The required acceptance condition is: The target resource is read or changed exactly as intended without invoking an unintended create or delete operation.
Incorrect Answers
A:REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
B:Set Accept and Content-Type according to the endpoint contract and choose a response parser using the returned media type. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
D:Separate credential validity from resource authorization and correct the specific token, scope or role mismatch established by the documented response. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
Question 122
A Cisco network automation implementation review finds: An inventory client needs to list devices but sends DELETE to a documented read-only devices endpoint, risking an unintended change. The team proposes: Choose the documented endpoint path and appropriate GET POST PATCH PUT or DELETE method for the intended resource operation and required payload. Which engineering principle most strongly supports the recommended response? Select ONE best answer.
- Webhooks deliver event-driven HTTP callbacks to subscribers; endpoint authenticity, duplicate delivery and operational retry behavior must be considered.
- HTTP Basic encodes credentials rather than encrypting them, bearer tokens confer access to their holder, and API keys use vendor-defined header conventions.
- URL encoding separates user data from URL separators, preventing malformed filters and incorrect resource routes.
- REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
Explanation
Correct Answer
D:Demonstrable success requires: The target resource is read or changed exactly as intended without invoking an unintended create or delete operation.
Incorrect Answers
A:Webhooks deliver event-driven HTTP callbacks to subscribers; endpoint authenticity, duplicate delivery and operational retry behavior must be considered. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
B:HTTP Basic encodes credentials rather than encrypting them, bearer tokens confer access to their holder, and API keys use vendor-defined header conventions. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
C:URL encoding separates user data from URL separators, preventing malformed filters and incorrect resource routes. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
Question 123
The network automation team has not yet approved changes. Current evidence indicates: An inventory client needs to list devices but sends DELETE to a documented read-only devices endpoint, risking an unintended change. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Capture the final URL and decoded path or query map and compare it to the API reference for known device and optional filter values.
- Trace documented response status, operation ID, callback or polling URL and final completion or failure state in a sandbox.
- Seed a mock API with multiple pages and validate unique device IDs, next-link traversal and the final count against the documented total.
- Compare the documentation's HTTP method, path parameters, body schema and expected status against a dry-run request in a sandbox.
Explanation
Correct Answer
D:Confirm afterward that: The target resource is read or changed exactly as intended without invoking an unintended create or delete operation.
Incorrect Answers
A:Capture the final URL and decoded path or query map and compare it to the API reference for known device and optional filter values. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
B:Trace documented response status, operation ID, callback or polling URL and final completion or failure state in a sandbox. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
C:Seed a mock API with multiple pages and validate unique device IDs, next-link traversal and the final count against the documented total. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
Question 124
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: An inventory client needs to list devices but sends DELETE to a documented read-only devices endpoint, risking an unintended change. The service owner needs positive and negative results and evidence that legitimate data workflows still function. Which acceptance result demonstrates correct network automation behavior without disrupting authorized workflows? Select ONE best answer.
- A retried workflow converges on one intended resource and the client can distinguish ambiguous network outcomes.
- The target resource is read or changed exactly as intended without invoking an unintended create or delete operation.
- Valid calls authenticate through the prescribed method without leaking secrets through source control, query strings or debug output.
- The client completes within quota, preserves intended writes once and surfaces unrecoverable errors with diagnostic context.
Explanation
Correct Answer
B:REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
Incorrect Answers
A:A retried workflow converges on one intended resource and the client can distinguish ambiguous network outcomes. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
C:Valid calls authenticate through the prescribed method without leaking secrets through source control, query strings or debug output. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
D:The client completes within quota, preserves intended writes once and surfaces unrecoverable errors with diagnostic context. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
Question 125
An implementation sign-off request identifies the following problem: An inventory client needs to list devices but sends DELETE to a documented read-only devices endpoint, risking an unintended change. Which paired technical change and validation should close the implementation review? Select ONE best answer.
- Change: Honor the API's interaction style, polling or callback workflow and final job-status contract rather than assuming immediate completion. Verify: Trace documented response status, operation ID, callback or polling URL and final completion or failure state in a sandbox.
- Change: Supply query filters using the requests params argument and use safe documented path encoding for dynamic resource identifiers. Verify: Compare prepared request URLs and server-observed decoded parameters for spaces, ampersands and Unicode identifiers in unit fixtures.
- Change: Choose the documented endpoint path and appropriate GET POST PATCH PUT or DELETE method for the intended resource operation and required payload. Verify: Compare the documentation's HTTP method, path parameters, body schema and expected status against a dry-run request in a sandbox.
- Change: Follow the provider's supported page, cursor or link-pagination protocol until completion while retaining authorization and bounded processing. Verify: Seed a mock API with multiple pages and validate unique device IDs, next-link traversal and the final count against the documented total.
Explanation
Correct Answer
C:The change is successful only when: The target resource is read or changed exactly as intended without invoking an unintended create or delete operation.
Incorrect Answers
A:Change: Honor the API's interaction style, polling or callback workflow and final job-status contract rather than assuming immediate completion.
B:Change: Supply query filters using the requests params argument and use safe documented path encoding for dynamic resource identifiers.
D:Change: Follow the provider's supported page, cursor or link-pagination protocol until completion while retaining authorization and bounded processing.
Question 126
A network automation engineer is examining this network automation situation: A provisioning app must update one existing interface's description and chooses POST to the collection even though the API documents a per-interface PATCH operation. A proposed shortcut is: Send a destructive DELETE whenever the task calls for reading a device inventory because all methods reach the same URL. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Send a destructive DELETE whenever the task calls for reading a device inventory because all methods reach the same URL.
- Separate credential validity from resource authorization and correct the specific token, scope or role mismatch established by the documented response.
- Substitute documented path variables with encoded identifiers and place optional search or pagination values in the supported query parameters.
- Choose the documented endpoint path and appropriate GET POST PATCH PUT or DELETE method for the intended resource operation and required payload.
Explanation
Correct Answer
D:The required acceptance condition is: The target resource is read or changed exactly as intended without invoking an unintended create or delete operation.
Incorrect Answers
A:REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
B:Separate credential validity from resource authorization and correct the specific token, scope or role mismatch established by the documented response. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
C:Substitute documented path variables with encoded identifiers and place optional search or pagination values in the supported query parameters. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
Question 127
A Cisco network automation implementation review finds: A provisioning app must update one existing interface's description and chooses POST to the collection even though the API documents a per-interface PATCH operation. The team proposes: Choose the documented endpoint path and appropriate GET POST PATCH PUT or DELETE method for the intended resource operation and required payload. Which engineering principle most strongly supports the recommended response? Select ONE best answer.
- HTTP Basic encodes credentials rather than encrypting them, bearer tokens confer access to their holder, and API keys use vendor-defined header conventions.
- REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
- Event delivery may be at least once, delayed or out of order; durable consumers must deduplicate and handle stale events.
- An idempotent operation can be repeated without changing the eventual state beyond its first successful application, unlike unguarded duplicate creation.
Explanation
Correct Answer
B:Demonstrable success requires: The target resource is read or changed exactly as intended without invoking an unintended create or delete operation.
Incorrect Answers
A:HTTP Basic encodes credentials rather than encrypting them, bearer tokens confer access to their holder, and API keys use vendor-defined header conventions. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
C:Event delivery may be at least once, delayed or out of order; durable consumers must deduplicate and handle stale events. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
D:An idempotent operation can be repeated without changing the eventual state beyond its first successful application, unlike unguarded duplicate creation. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
Question 128
The network automation team has not yet approved changes. Current evidence indicates: A provisioning app must update one existing interface's description and chooses POST to the collection even though the API documents a per-interface PATCH operation. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Simulate a 429 with Retry-After plus connection timeouts and measure wait intervals, maximum attempts and resulting object counts.
- Compare the documentation's HTTP method, path parameters, body schema and expected status against a dry-run request in a sandbox.
- Reissue the identical request after a simulated lost response and compare resource IDs, counts and final field values across attempts.
- Mock a slow server, an invalid JSON response and a multi-page successful response to verify timeout handling and session headers.
Explanation
Correct Answer
B:Confirm afterward that: The target resource is read or changed exactly as intended without invoking an unintended create or delete operation.
Incorrect Answers
A:Simulate a 429 with Retry-After plus connection timeouts and measure wait intervals, maximum attempts and resulting object counts. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
C:Reissue the identical request after a simulated lost response and compare resource IDs, counts and final field values across attempts. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
D:Mock a slow server, an invalid JSON response and a multi-page successful response to verify timeout handling and session headers. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
Question 129
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: A provisioning app must update one existing interface's description and chooses POST to the collection even though the API documents a per-interface PATCH operation. The service owner needs positive and negative results and evidence that legitimate data workflows still function. Which acceptance result demonstrates correct network automation behavior without disrupting authorized workflows? Select ONE best answer.
- The target resource is read or changed exactly as intended without invoking an unintended create or delete operation.
- The endpoint resolves the intended organization and interface, and optional filters affect only supported result selection.
- Downstream automation waits for confirmed success or takes a documented failure action rather than assuming job acceptance equals completion.
- A retried workflow converges on one intended resource and the client can distinguish ambiguous network outcomes.
Explanation
Correct Answer
A:REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods. The result must be validated using the documented device, service or access context.
Incorrect Answers
B:The endpoint resolves the intended organization and interface, and optional filters affect only supported result selection. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
C:Downstream automation waits for confirmed success or takes a documented failure action rather than assuming job acceptance equals completion. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
D:A retried workflow converges on one intended resource and the client can distinguish ambiguous network outcomes. A provisioning app must update one existing interface's description and chooses POST to the collection even though the API documents a per-interface PATCH operation.
Question 130
For an original CCNA Automation educational scenario, consider: A provisioning app must update one existing interface's description and chooses POST to the collection even though the API documents a per-interface PATCH operation. Select TWO complementary steps: the targeted correction and its strongest prechange validation.
- Check: Simulate a 429 with Retry-After plus connection timeouts and measure wait intervals, maximum attempts and resulting object counts.
- Change: Choose the documented endpoint path and appropriate GET POST PATCH PUT or DELETE method for the intended resource operation and required payload.
- Change: Separate credential validity from resource authorization and correct the specific token, scope or role mismatch established by the documented response.
- Send a destructive DELETE whenever the task calls for reading a device inventory because all methods reach the same URL.
- Check: Compare the documentation's HTTP method, path parameters, body schema and expected status against a dry-run request in a sandbox.
Explanation
Correct Answer
B:Acceptance: The target resource is read or changed exactly as intended without invoking an unintended create or delete operation.
E:Acceptance: The target resource is read or changed exactly as intended without invoking an unintended create or delete operation. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
Incorrect Answers
A:Check: Simulate a 429 with Retry-After plus connection timeouts and measure wait intervals, maximum attempts and resulting object counts. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
C:Change: Separate credential validity from resource authorization and correct the specific token, scope or role mismatch established by the documented response. REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods.
D:REST methods have distinct intended semantics, with GET retrieving state and PATCH making a partial update; the API contract controls resource paths and accepted methods. Use this instead: Choose the documented endpoint path and appropriate GET POST PATCH PUT or DELETE method for the intended resource operation and required payload.