Question 70
A data center administrator identifies the following risk: A monitoring Python script assumes a nested JSON metric is always a number and crashes when NX-OS telemetry omits the optional field on one hardware platform. Which root cause best explains this behavior?
Explanation
Correct Answer
The technical cause is The parser lacks schema validation and robust handling of absent or differently typed telemetry values. The appropriate response is: Validate expected JSON fields and handle missing data explicitly before calculating fabric health metrics. Confirm successful repair: The collector processes supported payload variants and flags incomplete metrics without terminating the monitoring job.
Incorrect Answers
The playbook target inventory and variable precedence do not isolate the intended lab device group. “Constrain the approved Ansible inventory and host patterns, then review the playbook diff before execution” would address that alternative cause, not the condition in this question: the parser lacks schema validation and robust handling of absent or differently typed telemetry values.
“Correct the controlled DHCP provisioning information and match the bootstrap script to the switch identity” responds to this separate finding: the POAP discovery data identifies the wrong approved bootstrap artifact for the device's placement. This question instead needs “Validate expected JSON fields and handle missing data explicitly before calculating fabric health metrics”, so the alternative does not meet the stated condition.
The RDMA transport has not been mapped to an appropriate lossless traffic class with congestion safeguards. “Evaluate supported PFC and ECN settings for the RDMA class and validate them across the intended switch path” applies to that separate problem. The observed case is a monitoring Python script assumes a nested JSON metric is always a number and crashes when NX-OS telemetry omits the optional field on one hardware platform; choosing this alternative would address the wrong failure mode.