Cisco 200-901 Practice Test 1
Question 1
A network automation engineer is examining this network automation situation: A telemetry exporter sends nested device and interface records to a service that expects JSON objects, but the developer sends a string that merely resembles a dictionary. A proposed shortcut is: Send YAML syntax to an endpoint requiring application/json and assume it will parse the body as a JSON object. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Match the documented serialization format to each consumer and preserve typed arrays, mappings and scalar values during conversion.
- Send YAML syntax to an endpoint requiring application/json and assume it will parse the body as a JSON object.
- Encapsulate reusable API operations as functions and modules, and model stateful device clients with narrowly scoped class instances where appropriate.
- Capture the expected paging and retry behavior in tests, refactor without changing the observable contract and rerun the suite before merging.
Explanation
Correct Answer
A:JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
Incorrect Answers
B:JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
C:Encapsulate reusable API operations as functions and modules, and model stateful device clients with narrowly scoped class instances where appropriate. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
D:Capture the expected paging and retry behavior in tests, refactor without changing the observable contract and rerun the suite before merging. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
Question 2
A Cisco network automation implementation review finds: A telemetry exporter sends nested device and interface records to a service that expects JSON objects, but the developer sends a string that merely resembles a dictionary. The team proposes: Match the documented serialization format to each consumer and preserve typed arrays, mappings and scalar values during conversion. Which engineering principle most strongly supports the recommended response? Select ONE best answer.
- Version-control history supports reproducible diffs, accountability and safe undo; reverting a commit adds an inverse change without deleting later shared commits.
- JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
- Well-defined functions reduce duplicate behavior and tests, modules organize dependencies, and instances keep related state separate across operations.
- Explicit exception handling separates recoverable per-device failures from fatal authentication or configuration errors and makes error propagation testable.
Explanation
Correct Answer
B:Demonstrable success requires: The configured consumer accepts its declared media type and receives the correct nested addresses, identifiers and values.
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. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
C:Well-defined functions reduce duplicate behavior and tests, modules organize dependencies, and instances keep related state separate across operations. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
D:Explicit exception handling separates recoverable per-device failures from fatal authentication or configuration errors and makes error propagation testable. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
Question 3
The network automation team has not yet approved changes. Current evidence indicates: A telemetry exporter sends nested device and interface records to a service that expects JSON objects, but the developer sends a string that merely resembles a dictionary. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Test numeric versus quoted values, missing properties and duplicate keys against an explicit target-schema contract in isolation.
- Trace call sites, isolate the token helper in a unit test and exercise two independent device objects in a parallel discovery fixture.
- Inspect origin tracking, git status, conflicted file sections and the resulting diff against both intended site changes before pushing.
- Parse a representative record with a format-aware parser and compare nested field types, names and round-trip serialization against the destination schema.
Explanation
Correct Answer
D:JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable. This check tests the actual network, API or deployment boundary before an operationally risky change.
Incorrect Answers
A:Test numeric versus quoted values, missing properties and duplicate keys against an explicit target-schema contract in isolation. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
B:Trace call sites, isolate the token helper in a unit test and exercise two independent device objects in a parallel discovery fixture. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
C:Inspect origin tracking, git status, conflicted file sections and the resulting diff against both intended site changes before pushing. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
Question 4
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: A telemetry exporter sends nested device and interface records to a service that expects JSON objects, but the developer sends a string that merely resembles a dictionary. 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 pipeline proves both valid and invalid requests behave as expected and a regression cannot silently reintroduce the defect.
- The bad change is reversed with an auditable commit and unrelated approved changes remain present.
- The UI can change independently of inventory rules and interested consumers receive updates without tight point-to-point polling dependencies.
- The configured consumer accepts its declared media type and receives the correct nested addresses, identifiers and values.
Explanation
Correct Answer
D:JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable. The result must be validated using the documented device, service or access context.
Incorrect Answers
A:The pipeline proves both valid and invalid requests behave as expected and a regression cannot silently reintroduce the defect. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
B:The bad change is reversed with an auditable commit and unrelated approved changes remain present. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
C:The UI can change independently of inventory rules and interested consumers receive updates without tight point-to-point polling dependencies. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
Question 5
An implementation sign-off request identifies the following problem: A telemetry exporter sends nested device and interface records to a service that expects JSON objects, but the developer sends a string that merely resembles a dictionary. Which paired technical change and validation should close the implementation review? Select ONE best answer.
- Change: Separate model state and business rules from presentation and controller handling, and use an Observer-style event subscription for change notifications when suitable. Verify: Trace whether a data update is owned by the model and whether subscribers receive one event without creating circular or duplicate updates.
- Change: Trace the offending change through Git history and use a reviewed revert or targeted corrective commit rather than rewriting shared history. Verify: 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. Verify: Parse a representative record with a format-aware parser and compare nested field types, names and round-trip serialization against the destination schema.
- Change: Capture the expected paging and retry behavior in tests, refactor without changing the observable contract and rerun the suite before merging. Verify: Compare output device counts, pagination continuation tokens and retry timelines before and after the refactor with controlled fixtures.
Explanation
Correct Answer
C:JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable. The change is successful only when: The configured consumer accepts its declared media type and receives the correct nested addresses, identifiers and values.
Incorrect Answers
A:Change: Separate model state and business rules from presentation and controller handling, and use an Observer-style event subscription for change notifications when suitable.
B:Change: Trace the offending change through Git history and use a reviewed revert or targeted corrective commit rather than rewriting shared history.
D:Change: Capture the expected paging and retry behavior in tests, refactor without changing the observable contract and rerun the suite before merging.
Question 6
A network automation engineer is examining this network automation situation: An automation repository stores human-edited deployment settings in YAML while a downstream API expects a JSON request body, and the two payloads are interchanged. A proposed shortcut is: Send YAML syntax to an endpoint requiring application/json and assume it will parse the body as a JSON object. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Capture the expected paging and retry behavior in tests, refactor without changing the observable contract and rerun the suite before merging.
- Match the documented serialization format to each consumer and preserve typed arrays, mappings and scalar values during conversion.
- Send YAML syntax to an endpoint requiring application/json and assume it will parse the body as a JSON object.
- Catch anticipated exceptions at a clear boundary, record contextual error details and continue or fail safely according to the operation's consistency requirements.
Explanation
Correct Answer
B:JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
Incorrect Answers
A:Capture the expected paging and retry behavior in tests, refactor without changing the observable contract and rerun the suite before merging. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
C:JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable. Use this instead: Match the documented serialization format to each consumer and preserve typed arrays, mappings and scalar values during conversion.
D:Catch anticipated exceptions at a clear boundary, record contextual error details and continue or fail safely according to the operation's consistency requirements. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
Question 7
A Cisco network automation implementation review finds: An automation repository stores human-edited deployment settings in YAML while a downstream API expects a JSON request body, and the two payloads are interchanged. The team proposes: Match the documented serialization format to each consumer and preserve typed arrays, mappings and scalar values during conversion. Which engineering principle most strongly supports the recommended response? Select ONE best answer.
- Git commits capture repository snapshots, branches isolate lines of work, and merge conflict resolution reconciles competing edits rather than silently choosing an arbitrary version.
- Version-control history supports reproducible diffs, accountability and safe undo; reverting a commit adds an inverse change without deleting later shared commits.
- JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
- Test-driven development emphasizes a red-green-refactor cycle with expected outcomes expressed as executable tests before implementation changes.
Explanation
Correct Answer
C:Demonstrable success requires: The configured consumer accepts its declared media type and receives the correct nested addresses, identifiers and values.
Incorrect Answers
A:Git commits capture repository snapshots, branches isolate lines of work, and merge conflict resolution reconciles competing edits rather than silently choosing an arbitrary version. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
B:Version-control history supports reproducible diffs, accountability and safe undo; reverting a commit adds an inverse change without deleting later shared commits. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
D:Test-driven development emphasizes a red-green-refactor cycle with expected outcomes expressed as executable tests before implementation changes. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
Question 8
The network automation team has not yet approved changes. Current evidence indicates: An automation repository stores human-edited deployment settings in YAML while a downstream API expects a JSON request body, and the two payloads are interchanged. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Examine git status, branch, log and diff before merging and verify the test suite on the reconciled final tree.
- Parse a representative record with a format-aware parser and compare nested field types, names and round-trip serialization against the destination schema.
- Inspect type, length and sample nested elements from each payload, including a missing or null field, before iterating device records.
- Inspect origin tracking, git status, conflicted file sections and the resulting diff against both intended site changes before pushing.
Explanation
Correct Answer
B:JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable. If confirmed, the proportionate intervention is: Match the documented serialization format to each consumer and preserve typed arrays, mappings and scalar values during conversion.
Incorrect Answers
A:Examine git status, branch, log and diff before merging and verify the test suite on the reconciled final tree. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
C:Inspect type, length and sample nested elements from each payload, including a missing or null field, before iterating device records. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
D:Inspect origin tracking, git status, conflicted file sections and the resulting diff against both intended site changes before pushing. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
Question 9
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: An automation repository stores human-edited deployment settings in YAML while a downstream API expects a JSON request body, and the two payloads are interchanged. 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.
- Stakeholders can correct requirements early while the required documented approvals and acceptance checks remain enforceable.
- The configured consumer accepts its declared media type and receives the correct nested addresses, identifiers and values.
- Existing clients produce equivalent results with simpler maintainable code and no loss of device records or retries.
- The bad change is reversed with an auditable commit and unrelated approved changes remain present.
Explanation
Correct Answer
B:JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable. The approved implementation step was: Match the documented serialization format to each consumer and preserve typed arrays, mappings and scalar values during conversion.
Incorrect Answers
A:Stakeholders can correct requirements early while the required documented approvals and acceptance checks remain enforceable. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
C:Existing clients produce equivalent results with simpler maintainable code and no loss of device records or retries. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
D:The bad change is reversed with an auditable commit and unrelated approved changes remain present. An automation repository stores human-edited deployment settings in YAML while a downstream API expects a JSON request body, and the two payloads are interchanged.
Question 10
For an original CCNA Automation educational scenario, consider: An automation repository stores human-edited deployment settings in YAML while a downstream API expects a JSON request body, and the two payloads are interchanged. Select TWO complementary steps: the targeted correction and its strongest prechange validation.
- Check: Parse a representative record with a format-aware parser and compare nested field types, names and round-trip serialization against the destination schema.
- Change: Match the documented serialization format to each consumer and preserve typed arrays, mappings and scalar values during conversion.
- Change: Create a short-lived branch, commit scoped changes, review a diff and merge after test results while preserving a recoverable mainline history.
- Check: Compare change frequency, owner feedback, explicit acceptance tests, regulatory approval obligations and actual deployment history for the project.
- Send YAML syntax to an endpoint requiring application/json and assume it will parse the body as a JSON object.
Explanation
Correct Answer
A:JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable. Required intervention: Match the documented serialization format to each consumer and preserve typed arrays, mappings and scalar values during conversion.
B:JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable. Evidence: Parse a representative record with a format-aware parser and compare nested field types, names and round-trip serialization against the destination schema.
Incorrect Answers
C:Change: Create a short-lived branch, commit scoped changes, review a diff and merge after test results while preserving a recoverable mainline history. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
D:Check: Compare change frequency, owner feedback, explicit acceptance tests, regulatory approval obligations and actual deployment history for the project. JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.
E:JSON has objects and arrays, YAML uses indentation-oriented mappings and sequences, and XML represents nested elements and attributes; their syntax is not interchangeable.