PASS EXAM · · Original study guide

Choose an observation-only task

A useful first automation project answers a small question: which devices are in the lab, and which software version does each report? Start with sample responses or an isolated lab you control. Collecting information gives you room to learn without combining data handling with configuration changes.

Define the output before choosing a library. For this exercise, use three fields: device name, management address and software version. State what should happen when a field is missing or a device cannot be reached.

Define a small data contract

{
  "device": "lab-router-01",
  "management_address": "192.0.2.10",
  "software_version": "example-version"
}

This is illustrative inventory data, not the response format of a particular vendor API. An adapter for a real device must translate its actual output into your chosen structure. Keeping that boundary explicit makes it easier to test the comparison logic without live devices.

Decide whether device names must be unique, which fields are required and how you represent an unknown value. Do not silently replace missing data with a plausible default. Unknown is a meaningful result.

Make failures visible

Prepare three fixtures: a complete response, one with a missing version and one representing a connection failure. Your report should distinguish all three. A script that hides errors behind an empty list can look successful while omitting the devices that most need investigation.

For a live lab, use supported interfaces, bounded request timeouts and credentials with only the required access. Keep secrets out of source files and reports. Do not point a practice script at networks or devices you are not authorised to inspect.

Compare observations with expectations

Store the expected inventory separately from the observed result. Match records using a stable identifier, then report additions, missing devices and changed values. Avoid comparing entire text responses when you only care about a few fields; incidental formatting changes can create distracting differences.

ResultMeaning
UnchangedThe selected fields match the expected record
ChangedA known device reports a different selected value
UnknownThe observation failed or required data is absent

Review before expanding the project

Have the program produce a concise report with a collection time and a summary of failures. Review it manually against your fixtures. Then repeat a small lab collection and verify that changing one sample value produces one clear difference.

This project connects software habits with network operations: data contracts, error handling and repeatable checks. Use the CCNA Automation outline to identify further study areas. Configuration writes can be a later project, with separate review, rollback planning and explicit lab boundaries.

Official references

Sources checked on . Vendor pages provide the current exam and booking details.