Cisco 350-601 Practice Test 91
Question 900
A network automation account has a valid HTTPS session but the switch denies an API configuration command due to role restrictions. The observed failure is: using a read-only role for write requests produces predictable authorization failures. What should the engineer do to recover and validate the service?
- The controlled remediation is to change the device hostname to bypass API role enforcement.
- The controlled remediation is to give every API consumer unrestricted administrator privileges by default.
- The controlled remediation is to disable NX-OS RBAC entirely instead of scoping the required command.
- The controlled remediation is to assign an appropriately scoped approved role and verify the specific write action and audit trail.
Explanation
Correct Answer
D:This addresses the observable fault while preserving a check of the expected result. Validate against aPI authentication and authorization response, user role, permitted commands and audit log.
Incorrect Answers
A:Change the device hostname to bypass API role enforcement. This would not reliably restore service after the stated fault. Using a read-only role for write requests produces predictable authorization failures. The controlled recovery is to assign an appropriately scoped approved role and verify the specific write action and audit trail.
B:Give every API consumer unrestricted administrator privileges by default. This would not reliably restore service after the stated fault. Using a read-only role for write requests produces predictable authorization failures. The controlled recovery is to assign an appropriately scoped approved role and verify the specific write action and audit trail.
C:Disable NX-OS RBAC entirely instead of scoping the required command. This would not reliably restore service after the stated fault. Using a read-only role for write requests produces predictable authorization failures. The controlled recovery is to assign an appropriately scoped approved role and verify the specific write action and audit trail.
Question 901
A Python script run on a Nexus returns unexpected CLI text because the code assumes an unsupported command execution interface. Which operator action best meets this technical requirement?
- Use supported NX-OS Python CLI or API interfaces and robustly parse validated structured output where available.
- Treat the command output as always identical after every software release.
- Run the Python exception handler with no logging and silently ignore failures.
- Replace operational telemetry with random hard-coded status strings.
Explanation
Correct Answer
A:This directly addresses on-box Python operational script because on-box Python can automate NX-OS operations but must use supported methods and reliable result formats. Confirm the change against Python exception trace, command API return, stable fields and comparison with device operational state.
Incorrect Answers
B:Brittle string slicing can misinterpret operational output and make incorrect configuration decisions. The relevant correction is to use supported NX-OS Python CLI or API interfaces and robustly parse validated structured output where available.
C:That option would run the Python exception handler with no logging and silently ignore failures, but it addresses a different concern. This directly addresses on-box Python operational script because on-box Python can automate NX-OS operations but must use supported methods and reliable result formats.
D:Brittle string slicing can misinterpret operational output and make incorrect configuration decisions. The appropriate action remains to use supported NX-OS Python CLI or API interfaces and robustly parse validated structured output where available.
Question 902
A Python script run on a Nexus returns unexpected CLI text because the code assumes an unsupported command execution interface. Which collection of observations most directly tests the suspected cause?
- A saved script file that has never been executed or tested.
- Python exception trace, command API return, stable fields and comparison with device operational state.
- A dashboard snapshot detached from actual target configuration and logs.
- A successful SSH session without script output, API responses or resulting state.
Explanation
Correct Answer
B:These observations test the actual on-box Python operational script mechanism rather than a superficial management status. On-box Python can automate NX-OS operations but must use supported methods and reliable result formats.
Incorrect Answers
A:This information cannot independently verify on-box Python operational script. The decisive records instead include Python exception trace, command API return, stable fields and comparison with device operational state.
C:This information cannot independently verify on-box Python operational script. On-box Python can automate NX-OS operations but must use supported methods and reliable result formats.
D:This information cannot independently verify on-box Python operational script. A successful SSH session without script output, API responses or resulting state.
Question 903
A Python script run on a Nexus returns unexpected CLI text because the code assumes an unsupported command execution interface. Which statement most accurately explains this scenario?
- Cloud or on-box automation removes the need to validate inputs and outcomes.
- A script saved on a controller always runs successfully on every target.
- On-box Python can automate NX-OS operations but must use supported methods and reliable result formats.
- An HTTP 200 connection proves the intended device state was changed correctly.
Explanation
Correct Answer
C:This explains why the most appropriate response is to use supported NX-OS Python CLI or API interfaces and robustly parse validated structured output where available. Validation depends on Python exception trace, command API return, stable fields and comparison with device operational state.
Incorrect Answers
A:Cloud or on-box automation removes the need to validate inputs and outcomes. This is an incorrect generalization for on-box Python operational script. The applicable technical behavior is that on-box Python can automate NX-OS operations but must use supported methods and reliable result formats. The operator should verify Python exception trace, command API return, stable fields and comparison with device operational state.
B:A script saved on a controller always runs successfully on every target. This is an incorrect generalization for on-box Python operational script. The applicable technical behavior is that on-box Python can automate NX-OS operations but must use supported methods and reliable result formats. The operator should verify Python exception trace, command API return, stable fields and comparison with device operational state.
D:An HTTP 200 connection proves the intended device state was changed correctly. This is an incorrect generalization for on-box Python operational script. The applicable technical behavior is that on-box Python can automate NX-OS operations but must use supported methods and reliable result formats. The operator should verify Python exception trace, command API return, stable fields and comparison with device operational state.
Question 904
A Python script run on a Nexus returns unexpected CLI text because the code assumes an unsupported command execution interface. Assume an engineer instead chooses to treat the command output as always identical after every software release. What is the principal technical consequence of the mistaken choice?
- Keeping API error responses is the underlying cause of failed automation.
- Reviewing a Terraform plan makes correct configuration objects disappear.
- Using a dry-run test inherently disables every network management API.
- Brittle string slicing can misinterpret operational output and make incorrect configuration decisions.
Explanation
Correct Answer
D:On-box Python can automate NX-OS operations but must use supported methods and reliable result formats. The proper corrective action is to use supported NX-OS Python CLI or API interfaces and robustly parse validated structured output where available.
Incorrect Answers
A:This does not explain the actual on-box Python operational script defect after the shortcut. The meaningful failure is that brittle string slicing can misinterpret operational output and make incorrect configuration decisions.
B:This does not explain the actual on-box Python operational script defect after the shortcut. The relevant evidence is Python exception trace, command API return, stable fields and comparison with device operational state.
C:This does not explain the actual on-box Python operational script defect after the shortcut. In the given case, a Python script run on a Nexus returns unexpected CLI text because the code assumes an unsupported command execution interface.
Question 905
A Python script run on a Nexus returns unexpected CLI text because the code assumes an unsupported command execution interface. The observed failure is: brittle string slicing can misinterpret operational output and make incorrect configuration decisions. What should the engineer do to recover and validate the service?
- Correct the command invocation and parser and retest against representative device outputs.
- Run the Python exception handler with no logging and silently ignore failures.
- Replace operational telemetry with random hard-coded status strings.
- Treat the command output as always identical after every software release.
Explanation
Correct Answer
A:On-box Python can automate NX-OS operations but must use supported methods and reliable result formats. This addresses the observable fault while preserving a check of the expected result.
Incorrect Answers
B:Run the Python exception handler with no logging and silently ignore failures. This would not reliably restore service after the stated fault. Brittle string slicing can misinterpret operational output and make incorrect configuration decisions. The controlled recovery is to correct the command invocation and parser and retest against representative device outputs.
C:Replace operational telemetry with random hard-coded status strings. This would not reliably restore service after the stated fault. Brittle string slicing can misinterpret operational output and make incorrect configuration decisions. The controlled recovery is to correct the command invocation and parser and retest against representative device outputs.
D:Treat the command output as always identical after every software release. This would not reliably restore service after the stated fault. Brittle string slicing can misinterpret operational output and make incorrect configuration decisions. The controlled recovery is to correct the command invocation and parser and retest against representative device outputs.
Question 906
An on-box Python health-check tool fails when it parses a CLI table with unstable column spacing. Which next step should the data center engineer select?
- On this affected device, the engineer should run the Python exception handler with no logging and silently ignore failures.
- On this affected device, the engineer should use supported NX-OS Python CLI or API interfaces and robustly parse validated structured output where available.
- On this affected device, the engineer should replace operational telemetry with random hard-coded status strings.
- On this affected device, the engineer should treat the command output as always identical after every software release.
Explanation
Correct Answer
B:This directly addresses on-box Python operational script because on-box Python can automate NX-OS operations but must use supported methods and reliable result formats.
Incorrect Answers
A:Run the Python exception handler with no logging and silently ignore failures. The proposed change targets the wrong mechanism or lacks essential validation. On-box Python can automate NX-OS operations but must use supported methods and reliable result formats. Relevant evidence is Python exception trace, command API return, stable fields and comparison with device operational state.
C:Brittle string slicing can misinterpret operational output and make incorrect configuration decisions.
D:Brittle string slicing can misinterpret operational output and make incorrect configuration decisions. Treat the command output as always identical after every software release.
Question 907
An on-box Python health-check tool fails when it parses a CLI table with unstable column spacing. Which diagnostic record would most strongly confirm the result?
- For this deployment, examine an old CI job name without run records or configuration diffs.
- For this deployment, examine a saved script file that has never been executed or tested.
- For this deployment, examine Python exception trace, command API return, stable fields and comparison with device operational state.
- For this deployment, examine a dashboard snapshot detached from actual target configuration and logs.
Explanation
Correct Answer
C:These observations test the actual on-box Python operational script mechanism rather than a superficial management status. They should be checked after use supported NX-OS Python CLI or API interfaces and robustly parse validated structured output where available.
Incorrect Answers
A:This information cannot independently verify on-box Python operational script. An old CI job name without run records or configuration diffs.
B:This information cannot independently verify on-box Python operational script. In the given case, an on-box Python health-check tool fails when it parses a CLI table with unstable column spacing.
D:This information cannot independently verify on-box Python operational script. A dashboard snapshot detached from actual target configuration and logs.
Question 908
An on-box Python health-check tool fails when it parses a CLI table with unstable column spacing. Which platform concept should guide the engineer’s assessment?
- For this condition, the applicable principle is that an HTTP 200 connection proves the intended device state was changed correctly.
- For this condition, the applicable principle is that cloud or on-box automation removes the need to validate inputs and outcomes.
- For this condition, the applicable principle is that the existence of a state file proves all remote resources match desired state.
- For this condition, the applicable principle is that on-box Python can automate NX-OS operations but must use supported methods and reliable result formats.
Explanation
Correct Answer
D:This explains why the most appropriate response is to use supported NX-OS Python CLI or API interfaces and robustly parse validated structured output where available.
Incorrect Answers
A:An HTTP 200 connection proves the intended device state was changed correctly. This is an incorrect generalization for on-box Python operational script. The applicable technical behavior is that on-box Python can automate NX-OS operations but must use supported methods and reliable result formats. The operator should verify Python exception trace, command API return, stable fields and comparison with device operational state.
B:Cloud or on-box automation removes the need to validate inputs and outcomes. This is an incorrect generalization for on-box Python operational script. The applicable technical behavior is that on-box Python can automate NX-OS operations but must use supported methods and reliable result formats. The operator should verify Python exception trace, command API return, stable fields and comparison with device operational state.
C:The existence of a state file proves all remote resources match desired state. This is an incorrect generalization for on-box Python operational script. The applicable technical behavior is that on-box Python can automate NX-OS operations but must use supported methods and reliable result formats. The operator should verify Python exception trace, command API return, stable fields and comparison with device operational state.
Question 909
An on-box Python health-check tool fails when it parses a CLI table with unstable column spacing. Assume an engineer instead chooses to treat the command output as always identical after every software release. Which root-cause observation follows from that incorrect change?
- The resulting defect is that brittle string slicing can misinterpret operational output and make incorrect configuration decisions.
- The resulting defect is that using a dry-run test inherently disables every network management API.
- The resulting defect is that storing execution logs causes the original script to use invalid parameters.
- The resulting defect is that reviewing a Terraform plan makes correct configuration objects disappear.
Explanation
Correct Answer
A:On-box Python can automate NX-OS operations but must use supported methods and reliable result formats. That is the direct consequence of choosing the misleading shortcut.
Incorrect Answers
B:This does not explain the actual on-box Python operational script defect after the shortcut. In the given case, an on-box Python health-check tool fails when it parses a CLI table with unstable column spacing.
C:This does not explain the actual on-box Python operational script defect after the shortcut. Storing execution logs causes the original script to use invalid parameters.
D:This does not explain the actual on-box Python operational script defect after the shortcut. Reviewing a Terraform plan makes correct configuration objects disappear.
Question 910
An on-box Python health-check tool fails when it parses a CLI table with unstable column spacing. The observed failure is: brittle string slicing can misinterpret operational output and make incorrect configuration decisions. Which recovery action addresses the underlying technical fault?
- The controlled remediation is to replace operational telemetry with random hard-coded status strings.
- The controlled remediation is to correct the command invocation and parser and retest against representative device outputs.
- The controlled remediation is to treat the command output as always identical after every software release.
- The controlled remediation is to run the Python exception handler with no logging and silently ignore failures.
Explanation
Correct Answer
B:On-box Python can automate NX-OS operations but must use supported methods and reliable result formats. Validate against Python exception trace, command API return, stable fields and comparison with device operational state.
Incorrect Answers
A:Replace operational telemetry with random hard-coded status strings. This would not reliably restore service after the stated fault. Brittle string slicing can misinterpret operational output and make incorrect configuration decisions. The controlled recovery is to correct the command invocation and parser and retest against representative device outputs.
C:Treat the command output as always identical after every software release. This would not reliably restore service after the stated fault. Brittle string slicing can misinterpret operational output and make incorrect configuration decisions. The controlled recovery is to correct the command invocation and parser and retest against representative device outputs.
D:Run the Python exception handler with no logging and silently ignore failures. This would not reliably restore service after the stated fault. Brittle string slicing can misinterpret operational output and make incorrect configuration decisions. The controlled recovery is to correct the command invocation and parser and retest against representative device outputs.