Question 300
During a change review at a fictional metropolitan archives office, the engineer observes: A NETCONF edit call finishes its SSH exchange yet returns an error-tag indicating data validation failed. The team has recovered from NETCONF rpc-error ignored. Which long-term change control is most specific to preventing this failure mode?
- Unit-test keyed RESTCONF URL construction for representative interface names.
- Use optimistic concurrency and intentional retry decisions in the transaction workflow.
- Lint network group variables against each collection's documented connection requirements.
- Add negative NETCONF RPC tests and fail-closed result parsing.
Explanation
Correct Answer
D:Add negative NETCONF RPC tests and fail-closed result parsing. This guardrail specifically monitors or constrains the client treats receipt of a NETCONF response as success without parsing rpc-error. It is more relevant to the observed incident (a NETCONF edit call finishes its SSH exchange yet returns an error-tag indicating data validation failed) than a generic service-availability check.
Incorrect Answers
A:This control is designed around the RESTCONF operation is directed at a list container rather than the keyed list entry required for that edit. It would not specifically prevent or detect the client treats receipt of a NETCONF response as success without parsing rpc-error, which produced the documented observation a NETCONF edit call finishes its SSH exchange yet returns an error-tag indicating data validation failed.
B:This control is designed around the conditional RESTCONF update uses an entity tag that no longer matches the current resource. It would not specifically prevent or detect the client treats receipt of a NETCONF response as success without parsing rpc-error, which produced the documented observation a NETCONF edit call finishes its SSH exchange yet returns an error-tag indicating data validation failed.
C:This control is designed around the host inventory specifies the wrong connection plugin for IOS XE network modules. It would not specifically prevent or detect the client treats receipt of a NETCONF response as success without parsing rpc-error, which produced the documented observation a NETCONF edit call finishes its SSH exchange yet returns an error-tag indicating data validation failed.
Question 301
A fictional public records division reports: The automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token. Which underlying technical failure best accounts for this specific evidence?
- Authorization errors are incorrectly treated as resource absence by generic exception handling.
- The NETCONF subtree filter addresses a namespace that does not match the target model.
- The HTTP request does not declare an acceptable YANG-modeled media type for the submitted representation.
- The requested HTTPS hostname does not match the service certificate's valid identities.
Explanation
Correct Answer
A:Authorization errors are incorrectly treated as resource absence by generic exception handling. HTTP 403 denotes denied access and should not be converted into proof of nonexistence. This explains the reported evidence: the automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token.
Incorrect Answers
B:This describes another failure: the NETCONF subtree filter addresses a namespace that does not match the target model, normally seen when an ncclient get call returns an empty data tree because the subtree filter uses a different namespace from the server module. The current case instead reports the automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token, so that alternate cause lacks the discriminating evidence present here.
C:This describes another failure: the HTTP request does not declare an acceptable YANG-modeled media type for the submitted representation, normally seen when rESTCONF POST requests carrying model data return 415 while GET retrieval of the same resource succeeds. The current case instead reports the automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token, so that alternate cause lacks the discriminating evidence present here.
D:This describes another failure: the requested HTTPS hostname does not match the service certificate's valid identities, normally seen when an HTTPS RESTCONF client fails certificate verification only when it connects by raw IP after a DNS-based certificate renewal. The current case instead reports the automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token, so that alternate cause lacks the discriminating evidence present here.
Question 302
During a change review at a fictional public records division, the engineer observes: The automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token. Before applying a configuration change, what is the single most discriminating next diagnostic check?
- Compare the advertised module namespace to the filter's expanded XML element names.
- Record exact HTTP status, response body and effective account role for the failing GET.
- Inspect Content-Type, Accept and endpoint's supported YANG representation.
- Inspect the certificate subject alternative names and compare the requested URL host.
Explanation
Correct Answer
B:Record exact HTTP status, response body and effective account role for the failing GET. This isolates the relevant mechanism: authorization errors are incorrectly treated as resource absence by generic exception handling. The check focuses on the failing layer rather than changing production state on a guess.
Incorrect Answers
A:That check primarily isolates the NETCONF subtree filter addresses a namespace that does not match the target model, which can produce an ncclient get call returns an empty data tree because the subtree filter uses a different namespace from the server module. It would not isolate the observed cause: authorization errors are incorrectly treated as resource absence by generic exception handling.
C:That check primarily isolates the HTTP request does not declare an acceptable YANG-modeled media type for the submitted representation, which can produce rESTCONF POST requests carrying model data return 415 while GET retrieval of the same resource succeeds. It would not isolate the observed cause: authorization errors are incorrectly treated as resource absence by generic exception handling.
D:That check primarily isolates the requested HTTPS hostname does not match the service certificate's valid identities, which can produce an HTTPS RESTCONF client fails certificate verification only when it connects by raw IP after a DNS-based certificate renewal. It would not isolate the observed cause: authorization errors are incorrectly treated as resource absence by generic exception handling.
Question 303
A support engineer for a fictional public records division records: The automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token. The investigation confirms that authorization errors are incorrectly treated as resource absence by generic exception handling. Which focused repair directly removes that cause without disabling unrelated safeguards?
- Correct the namespace and subtree hierarchy in the ncclient filter.
- Send the schema-valid payload using the supported application/yang-data+json representation.
- Repair the service account's permitted read scope or request review, not blind resource creation.
- Use a trusted DNS identity covered by the certificate or issue a certificate for the intended host.
Explanation
Correct Answer
C:Repair the service account's permitted read scope or request review, not blind resource creation. It addresses the established root condition: authorization errors are incorrectly treated as resource absence by generic exception handling. HTTP 403 denotes denied access and should not be converted into proof of nonexistence.
Incorrect Answers
A:This repair would address the NETCONF subtree filter addresses a namespace that does not match the target model, not the confirmed root condition authorization errors are incorrectly treated as resource absence by generic exception handling.
B:This repair would address the HTTP request does not declare an acceptable YANG-modeled media type for the submitted representation, not the confirmed root condition authorization errors are incorrectly treated as resource absence by generic exception handling.
D:This repair would address the requested HTTPS hostname does not match the service certificate's valid identities, not the confirmed root condition authorization errors are incorrectly treated as resource absence by generic exception handling.
Question 304
A fictional public records division reports: The automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token. A targeted change has just been applied for RESTCONF 403 misread as 404. Which observable outcome best demonstrates that the original requirement is restored?
- A targeted read returns the expected filtered neighbors without an unnecessary full dump.
- The API accepts the write and the resource can be read back as modeled YANG data.
- TLS verification succeeds with the certificate chain intact and the RESTCONF GET returns data.
- An authorized GET returns the intended resource without broadening unrelated access.
Explanation
Correct Answer
D:An authorized GET returns the intended resource without broadening unrelated access. This measures the capability affected by authorization errors are incorrectly treated as resource absence by generic exception handling. The original reported issue was: the automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token.
Incorrect Answers
A:This check validates recovery from the NETCONF subtree filter addresses a namespace that does not match the target model. The actual fault is authorization errors are incorrectly treated as resource absence by generic exception handling; its original user-impact evidence (the automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token) could remain unresolved even if that separate check passed.
B:This check validates recovery from the HTTP request does not declare an acceptable YANG-modeled media type for the submitted representation. The actual fault is authorization errors are incorrectly treated as resource absence by generic exception handling; its original user-impact evidence (the automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token) could remain unresolved even if that separate check passed.
C:This check validates recovery from the requested HTTPS hostname does not match the service certificate's valid identities. The actual fault is authorization errors are incorrectly treated as resource absence by generic exception handling; its original user-impact evidence (the automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token) could remain unresolved even if that separate check passed.
Question 305
During a change review at a fictional public records division, the engineer observes: The automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token. The team has recovered from RESTCONF 403 misread as 404. Which long-term change control is most specific to preventing this failure mode?
- Maintain distinct handling of unauthorized, forbidden, missing, conflict and server errors.
- Validate filter namespaces against server capabilities before bulk collection.
- Add HTTP header assertions to RESTCONF API tests.
- Validate SAN coverage and trust chains during endpoint certificate rotations.
Explanation
Correct Answer
A:Maintain distinct handling of unauthorized, forbidden, missing, conflict and server errors. This guardrail specifically monitors or constrains authorization errors are incorrectly treated as resource absence by generic exception handling. It is more relevant to the observed incident (the automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token) than a generic service-availability check.
Incorrect Answers
B:This control is designed around the NETCONF subtree filter addresses a namespace that does not match the target model. It would not specifically prevent or detect authorization errors are incorrectly treated as resource absence by generic exception handling, which produced the documented observation the automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token.
C:This control is designed around the HTTP request does not declare an acceptable YANG-modeled media type for the submitted representation. It would not specifically prevent or detect authorization errors are incorrectly treated as resource absence by generic exception handling, which produced the documented observation the automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token.
D:This control is designed around the requested HTTPS hostname does not match the service certificate's valid identities. It would not specifically prevent or detect authorization errors are incorrectly treated as resource absence by generic exception handling, which produced the documented observation the automation diagnoses a missing interface resource but the API actually returns HTTP 403 to a low-privilege token.
Question 306
During a change review at a fictional industrial design firm, the engineer observes: A script automatically creates new resources when access to an existing RESTCONF path is forbidden. Which underlying technical failure best accounts for this specific evidence?
- The host inventory specifies the wrong connection plugin for IOS XE network modules.
- Authorization errors are incorrectly treated as resource absence by generic exception handling.
- Inventory host grouping and variable precedence resolve to a broader target set than intended.
- The playbook relies on append-only CLI commands instead of reconciling desired state.
Explanation
Correct Answer
B:Authorization errors are incorrectly treated as resource absence by generic exception handling. HTTP 403 denotes denied access and should not be converted into proof of nonexistence. This explains the reported evidence: a script automatically creates new resources when access to an existing RESTCONF path is forbidden.
Incorrect Answers
A:This describes another failure: the host inventory specifies the wrong connection plugin for IOS XE network modules, normally seen when a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks. The current case instead reports a script automatically creates new resources when access to an existing RESTCONF path is forbidden, so that alternate cause lacks the discriminating evidence present here.
C:This describes another failure: inventory host grouping and variable precedence resolve to a broader target set than intended, normally seen when a branch rollout unexpectedly targets lab devices because a shared group_vars file overrides the intended hostname list. The current case instead reports a script automatically creates new resources when access to an existing RESTCONF path is forbidden, so that alternate cause lacks the discriminating evidence present here.
D:This describes another failure: the playbook relies on append-only CLI commands instead of reconciling desired state, normally seen when repeating an Ansible playbook appends an identical access-list entry on every run instead of converging to one rule. The current case instead reports a script automatically creates new resources when access to an existing RESTCONF path is forbidden, so that alternate cause lacks the discriminating evidence present here.
Question 307
A support engineer for a fictional industrial design firm records: A script automatically creates new resources when access to an existing RESTCONF path is forbidden. Before applying a configuration change, what is the single most discriminating next diagnostic check?
- Inspect ansible_connection and target platform variables for the failing inventory group.
- Run --list-hosts and inspect effective variables before execution.
- Record exact HTTP status, response body and effective account role for the failing GET.
- Compare running configuration before and after a second no-change playbook run.
Explanation
Correct Answer
C:Record exact HTTP status, response body and effective account role for the failing GET. This isolates the relevant mechanism: authorization errors are incorrectly treated as resource absence by generic exception handling. The check focuses on the failing layer rather than changing production state on a guess. The evidence to explain is: a script automatically creates new resources when access to an existing RESTCONF path is forbidden.
Incorrect Answers
A:That check primarily isolates the host inventory specifies the wrong connection plugin for IOS XE network modules, which can produce a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks. It would not isolate the observed cause: authorization errors are incorrectly treated as resource absence by generic exception handling.
B:That check primarily isolates inventory host grouping and variable precedence resolve to a broader target set than intended, which can produce a branch rollout unexpectedly targets lab devices because a shared group_vars file overrides the intended hostname list. It would not isolate the observed cause: authorization errors are incorrectly treated as resource absence by generic exception handling.
D:That check primarily isolates the playbook relies on append-only CLI commands instead of reconciling desired state, which can produce repeating an Ansible playbook appends an identical access-list entry on every run instead of converging to one rule. It would not isolate the observed cause: authorization errors are incorrectly treated as resource absence by generic exception handling.
Question 308
A fictional industrial design firm reports: A script automatically creates new resources when access to an existing RESTCONF path is forbidden. The investigation confirms that authorization errors are incorrectly treated as resource absence by generic exception handling. Which focused repair directly removes that cause without disabling unrelated safeguards?
- Configure the appropriate supported network_cli or httpapi connection for the chosen modules.
- Separate environment inventories and apply an explicit reviewed host limit.
- Use a supported idempotent resource module or check-before-change logic for the exact policy.
- Repair the service account's permitted read scope or request review, not blind resource creation.
Explanation
Correct Answer
D:Repair the service account's permitted read scope or request review, not blind resource creation. It addresses the established root condition: authorization errors are incorrectly treated as resource absence by generic exception handling. HTTP 403 denotes denied access and should not be converted into proof of nonexistence. The repair should be scoped to the affected workflow and then independently validated.
Incorrect Answers
A:This repair would address the host inventory specifies the wrong connection plugin for IOS XE network modules, not the confirmed root condition authorization errors are incorrectly treated as resource absence by generic exception handling.
B:This repair would address inventory host grouping and variable precedence resolve to a broader target set than intended, not the confirmed root condition authorization errors are incorrectly treated as resource absence by generic exception handling.
C:This repair would address the playbook relies on append-only CLI commands instead of reconciling desired state, not the confirmed root condition authorization errors are incorrectly treated as resource absence by generic exception handling.
Question 309
During a change review at a fictional industrial design firm, the engineer observes: A script automatically creates new resources when access to an existing RESTCONF path is forbidden. A targeted change has just been applied for RESTCONF 403 misread as 404. Which observable outcome best demonstrates that the original requirement is restored?
- An authorized GET returns the intended resource without broadening unrelated access.
- A read-only fact task and a controlled network configuration task complete through the expected transport.
- The dry run lists only the approved site and the change report contains no unintended nodes.
- Two consecutive runs leave the same intended policy and the second reports no change.
Explanation
Correct Answer
A:An authorized GET returns the intended resource without broadening unrelated access. This measures the capability affected by authorization errors are incorrectly treated as resource absence by generic exception handling. The original reported issue was: a script automatically creates new resources when access to an existing RESTCONF path is forbidden.
Incorrect Answers
B:This check validates recovery from the host inventory specifies the wrong connection plugin for IOS XE network modules. The actual fault is authorization errors are incorrectly treated as resource absence by generic exception handling; its original user-impact evidence (a script automatically creates new resources when access to an existing RESTCONF path is forbidden) could remain unresolved even if that separate check passed.
C:This check validates recovery from inventory host grouping and variable precedence resolve to a broader target set than intended. The actual fault is authorization errors are incorrectly treated as resource absence by generic exception handling; its original user-impact evidence (a script automatically creates new resources when access to an existing RESTCONF path is forbidden) could remain unresolved even if that separate check passed.
D:This check validates recovery from the playbook relies on append-only CLI commands instead of reconciling desired state. The actual fault is authorization errors are incorrectly treated as resource absence by generic exception handling; its original user-impact evidence (a script automatically creates new resources when access to an existing RESTCONF path is forbidden) could remain unresolved even if that separate check passed.
Question 310
A support engineer for a fictional industrial design firm records: A script automatically creates new resources when access to an existing RESTCONF path is forbidden. The team has recovered from RESTCONF 403 misread as 404. Which long-term change control is most specific to preventing this failure mode?
- Lint network group variables against each collection's documented connection requirements.
- Maintain distinct handling of unauthorized, forbidden, missing, conflict and server errors.
- Make inventory targeting a mandatory change-control check.
- Add repeat-run idempotence tests to all periodic playbooks.
Explanation
Correct Answer
B:Maintain distinct handling of unauthorized, forbidden, missing, conflict and server errors. This guardrail specifically monitors or constrains authorization errors are incorrectly treated as resource absence by generic exception handling. It is more relevant to the observed incident (a script automatically creates new resources when access to an existing RESTCONF path is forbidden) than a generic service-availability check.
Incorrect Answers
A:This control is designed around the host inventory specifies the wrong connection plugin for IOS XE network modules. It would not specifically prevent or detect authorization errors are incorrectly treated as resource absence by generic exception handling, which produced the documented observation a script automatically creates new resources when access to an existing RESTCONF path is forbidden.
C:This control is designed around inventory host grouping and variable precedence resolve to a broader target set than intended. It would not specifically prevent or detect authorization errors are incorrectly treated as resource absence by generic exception handling, which produced the documented observation a script automatically creates new resources when access to an existing RESTCONF path is forbidden.
D:This control is designed around the playbook relies on append-only CLI commands instead of reconciling desired state. It would not specifically prevent or detect authorization errors are incorrectly treated as resource absence by generic exception handling, which produced the documented observation a script automatically creates new resources when access to an existing RESTCONF path is forbidden.
Automating Cisco Enterprise Solutions (ENAUTO) (300-435) Practice Tests