Cisco 200-901 Practice Test 53
Question 520
For an original CCNA Automation educational scenario, consider: A deployment team edits live servers manually without runbooks and later cannot reproduce a configuration after an incident. Select TWO complementary steps: the targeted correction and its strongest prechange validation.
- Change: Use safe quoted Bash parameters, explicit file or directory operations and repeatable versioned scripts with shared DevOps feedback and review.
- Run rm -rf $TARGET without checking whether TARGET is defined and treat one successful manual rollout as documentation.
- Check: Compare image digest, running container ID, mapped ports, logs and teardown behavior under an isolated local build.
- Change: Inspect and organize FROM RUN COPY WORKDIR USER EXPOSE and CMD or ENTRYPOINT based on reproducible build and runtime requirements.
- Check: Test unset variables, paths with spaces, exit codes, script working directory and rollback in an isolated container before production execution.
Explanation
Correct Answer
A:Shell expansion and working-directory context affect commands, while DevOps practices favor collaborative automation, observability and small reversible changes. Acceptance: Repeatable scripts perform only intended file actions and changes have traceable review and diagnostic evidence.
E:Shell expansion and working-directory context affect commands, while DevOps practices favor collaborative automation, observability and small reversible changes. Required intervention: Use safe quoted Bash parameters, explicit file or directory operations and repeatable versioned scripts with shared DevOps feedback and review.
Incorrect Answers
B:Shell expansion and working-directory context affect commands, while DevOps practices favor collaborative automation, observability and small reversible changes.
C:Check: Compare image digest, running container ID, mapped ports, logs and teardown behavior under an isolated local build. Shell expansion and working-directory context affect commands, while DevOps practices favor collaborative automation, observability and small reversible changes.
D:Change: Inspect and organize FROM RUN COPY WORKDIR USER EXPOSE and CMD or ENTRYPOINT based on reproducible build and runtime requirements. Shell expansion and working-directory context affect commands, while DevOps practices favor collaborative automation, observability and small reversible changes.
Question 521
A network automation engineer is examining this network automation situation: A campus rollout scripts interface configuration by guessing device-specific CLI prompts and breaks when command output changes after an upgrade. A proposed shortcut is: Treat positional text scraped from an unstructured CLI screen as an immutable cross-platform machine-readable schema. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Use pyATS or Genie parsers and test cases to collect structured operational state and assert expected post-change conditions.
- Treat positional text scraped from an unstructured CLI screen as an immutable cross-platform machine-readable schema.
- Use supported YANG-defined configuration and state paths with structured operations for repeatable validation and automation.
- Trace variable expansion, quoting, conditionals and file operations in the Bash script and validate its scope with safe fixtures.
Explanation
Correct Answer
C:The required acceptance condition is: The intended interface values are expressed and validated consistently without relying on arbitrary terminal prompt parsing.
Incorrect Answers
A:Use pyATS or Genie parsers and test cases to collect structured operational state and assert expected post-change conditions. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
B:Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
D:Trace variable expansion, quoting, conditionals and file operations in the Bash script and validate its scope with safe fixtures. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
Question 522
A Cisco network automation implementation review finds: A campus rollout scripts interface configuration by guessing device-specific CLI prompts and breaks when command output changes after an upgrade. The team proposes: Use supported YANG-defined configuration and state paths with structured operations for repeatable validation and automation. Which engineering principle most strongly supports the recommended response? Select ONE best answer.
- Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
- Sequence diagrams express temporal relationships between participants; asynchronous acceptance and final completion are separate events.
- NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
- NSO maps service intent to device-level configuration and can expose the planned impact and transaction failure rather than unmanaged partial CLI changes.
Explanation
Correct Answer
A:Demonstrable success requires: The intended interface values are expressed and validated consistently without relying on arbitrary terminal prompt parsing.
Incorrect Answers
B:Sequence diagrams express temporal relationships between participants; asynchronous acceptance and final completion are separate events. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
C:NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
D:NSO maps service intent to device-level configuration and can expose the planned impact and transaction failure rather than unmanaged partial CLI changes. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
Question 523
The network automation team has not yet approved changes. Current evidence indicates: A campus rollout scripts interface configuration by guessing device-specific CLI prompts and breaks when command output changes after an upgrade. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Compare YANG leaf types, configured and operational data and model-supported paths across two approved device versions.
- Apply the patch to a safe copy, inspect resulting configuration and compare it with policy tests and the original file.
- Apply an unchanged configuration twice in a sandbox and compare proposed diffs, device state and resulting resource counts.
- Test the script with paths containing spaces and a missing variable, record pwd and preview file changes in a disposable environment.
Explanation
Correct Answer
A:Confirm afterward that: The intended interface values are expressed and validated consistently without relying on arbitrary terminal prompt parsing.
Incorrect Answers
B:Apply the patch to a safe copy, inspect resulting configuration and compare it with policy tests and the original file. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
C:Apply an unchanged configuration twice in a sandbox and compare proposed diffs, device state and resulting resource counts. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
D:Test the script with paths containing spaces and a missing variable, record pwd and preview file changes in a disposable environment. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
Question 524
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: A campus rollout scripts interface configuration by guessing device-specific CLI prompts and breaks when command output changes after an upgrade. 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.
- Only intended hosts change, repeat runs converge and failures remain visible instead of silently skipping targets.
- The intended interface values are expressed and validated consistently without relying on arbitrary terminal prompt parsing.
- The second run makes no unintended changes and the declared state can reproduce approved infrastructure.
- Tests fail when operational state differs from the approved baseline even when the configuration API returned success.
Explanation
Correct Answer
B:Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
Incorrect Answers
A:Only intended hosts change, repeat runs converge and failures remain visible instead of silently skipping targets. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
C:The second run makes no unintended changes and the declared state can reproduce approved infrastructure. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
D:Tests fail when operational state differs from the approved baseline even when the configuration API returned success. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
Question 525
An implementation sign-off request identifies the following problem: A campus rollout scripts interface configuration by guessing device-specific CLI prompts and breaks when command output changes after an upgrade. Which paired technical change and validation should close the implementation review? Select ONE best answer.
- Change: Trace variable expansion, quoting, conditionals and file operations in the Bash script and validate its scope with safe fixtures. Verify: Test the script with paths containing spaces and a missing variable, record pwd and preview file changes in a disposable environment.
- Change: Trace API method, endpoint path, loops and response usage to identify whether code discovers devices, observes clients or changes configuration. Verify: Annotate the script's request sequence with method and URL, and reproduce calls using fake responses in a sandbox.
- Change: Use supported YANG-defined configuration and state paths with structured operations for repeatable validation and automation. Verify: Compare YANG leaf types, configured and operational data and model-supported paths across two approved device versions.
- Change: Require peer review for security, correctness, operational blast radius, test evidence and rollback before accepting automation changes. Verify: Inspect the proposed diff for secrets, unsafe TLS settings, missing negative tests and explicit reviewer acknowledgement of the planned route impact.
Explanation
Correct Answer
C:The change is successful only when: The intended interface values are expressed and validated consistently without relying on arbitrary terminal prompt parsing.
Incorrect Answers
A:Change: Trace variable expansion, quoting, conditionals and file operations in the Bash script and validate its scope with safe fixtures.
B:Change: Trace API method, endpoint path, loops and response usage to identify whether code discovers devices, observes clients or changes configuration.
D:Change: Require peer review for security, correctness, operational blast radius, test evidence and rollback before accepting automation changes.
Question 526
A network automation engineer is examining this network automation situation: An operator wants to apply the same logical interface intent across several model-capable devices but stores unstructured CLI screen recordings as its only source of truth. A proposed shortcut is: Treat positional text scraped from an unstructured CLI screen as an immutable cross-platform machine-readable schema. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Treat positional text scraped from an unstructured CLI screen as an immutable cross-platform machine-readable schema.
- Use Terraform provider configuration, reviewed plans, managed remote state and suitable locking before apply, distinguishing provisioning from configuration management.
- Interpret context, removed and added lines and hunk headers to determine the exact before and after configuration meaning.
- Use supported YANG-defined configuration and state paths with structured operations for repeatable validation and automation.
Explanation
Correct Answer
D:The required acceptance condition is: The intended interface values are expressed and validated consistently without relying on arbitrary terminal prompt parsing.
Incorrect Answers
A:Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
B:Use Terraform provider configuration, reviewed plans, managed remote state and suitable locking before apply, distinguishing provisioning from configuration management. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
C:Interpret context, removed and added lines and hunk headers to determine the exact before and after configuration meaning. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
Question 527
A Cisco network automation implementation review finds: An operator wants to apply the same logical interface intent across several model-capable devices but stores unstructured CLI screen recordings as its only source of truth. The team proposes: Use supported YANG-defined configuration and state paths with structured operations for repeatable validation and automation. Which engineering principle most strongly supports the recommended response? Select ONE best answer.
- pyATS supports automated test execution and Genie can normalize supported command output into structured fields for repeatable assertions.
- Code review catches defects and spreads knowledge beyond automated syntax checks, especially dangerous assumptions about permissions and deployment context.
- Terraform tracks desired resources in state and computes plans, whereas Ansible chiefly runs inventory-based configuration tasks and NSO models network services.
- Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
Explanation
Correct Answer
D:Demonstrable success requires: The intended interface values are expressed and validated consistently without relying on arbitrary terminal prompt parsing.
Incorrect Answers
A:PyATS supports automated test execution and Genie can normalize supported command output into structured fields for repeatable assertions. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
B:Code review catches defects and spreads knowledge beyond automated syntax checks, especially dangerous assumptions about permissions and deployment context. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
C:Terraform tracks desired resources in state and computes plans, whereas Ansible chiefly runs inventory-based configuration tasks and NSO models network services. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
Question 528
The network automation team has not yet approved changes. Current evidence indicates: An operator wants to apply the same logical interface intent across several model-capable devices but stores unstructured CLI screen recordings as its only source of truth. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Compare YANG leaf types, configured and operational data and model-supported paths across two approved device versions.
- Inspect the proposed diff for secrets, unsafe TLS settings, missing negative tests and explicit reviewer acknowledgement of the planned route impact.
- Read a sample rpc-reply containing ok and a failing reply with error-tag, then inspect the relevant device datastore.
- Annotate the script's request sequence with method and URL, and reproduce calls using fake responses in a sandbox.
Explanation
Correct Answer
A:Confirm afterward that: The intended interface values are expressed and validated consistently without relying on arbitrary terminal prompt parsing.
Incorrect Answers
B:Inspect the proposed diff for secrets, unsafe TLS settings, missing negative tests and explicit reviewer acknowledgement of the planned route impact. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
C:Read a sample rpc-reply containing ok and a failing reply with error-tag, then inspect the relevant device datastore. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
D:Annotate the script's request sequence with method and URL, and reproduce calls using fake responses in a sandbox. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
Question 529
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: An operator wants to apply the same logical interface intent across several model-capable devices but stores unstructured CLI screen recordings as its only source of truth. 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 intended interface values are expressed and validated consistently without relying on arbitrary terminal prompt parsing.
- The correct modeled resource is retrieved or updated with valid typed data and errors are classified accurately.
- Tests fail when operational state differs from the approved baseline even when the configuration API returned success.
- Either the intended service converges consistently or the failure is exposed with a documented reconciliation path.
Explanation
Correct Answer
A:Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions. The result must be validated using the documented device, service or access context.
Incorrect Answers
B:The correct modeled resource is retrieved or updated with valid typed data and errors are classified accurately. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
C:Tests fail when operational state differs from the approved baseline even when the configuration API returned success. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
D:Either the intended service converges consistently or the failure is exposed with a documented reconciliation path. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
Question 530
For an original CCNA Automation educational scenario, consider: An operator wants to apply the same logical interface intent across several model-capable devices but stores unstructured CLI screen recordings as its only source of truth. Select TWO complementary steps: the targeted correction and its strongest prechange validation.
- Change: Use supported YANG-defined configuration and state paths with structured operations for repeatable validation and automation.
- Change: Read lifelines and ordered request-response arrows, identify asynchronous callbacks or polling and make dependent actions wait for the documented result.
- Check: Compare YANG leaf types, configured and operational data and model-supported paths across two approved device versions.
- Check: Read a sample rpc-reply containing ok and a failing reply with error-tag, then inspect the relevant device datastore.
- Treat positional text scraped from an unstructured CLI screen as an immutable cross-platform machine-readable schema.
Explanation
Correct Answer
A:Acceptance: The intended interface values are expressed and validated consistently without relying on arbitrary terminal prompt parsing.
C:Acceptance: The intended interface values are expressed and validated consistently without relying on arbitrary terminal prompt parsing. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
Incorrect Answers
B:Change: Read lifelines and ordered request-response arrows, identify asynchronous callbacks or polling and make dependent actions wait for the documented result. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
D:Check: Read a sample rpc-reply containing ok and a failing reply with error-tag, then inspect the relevant device datastore. Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
E:Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions. Use this instead: Use supported YANG-defined configuration and state paths with structured operations for repeatable validation and automation.