Network Automation and Software-Defined Networking Questions
Programmatic and abstracted network operation: network automation scripting and tooling, software-defined networking, network virtualization and overlays, and programmability APIs. Covers replacing manual device-by-device configuration with automated, intent-driven workflows, and the concepts behind SDN control and data-plane separation. The modern, automated evolution of network operations.
In Python, implement the core logic that compares intended and running configuration data for 5,000 devices that arrive in slightly different formats. How would you normalize harmless differences, detect real drift efficiently, and produce a concise report suitable for CI or a deployment gate?
Your team opens new branch offices every month, and each site needs a router, switches, baseline ACLs, and monitoring settings before the local IT team can use it. If you were asked to automate that provisioning flow from an empty rack to a usable site, what would you define as the source of truth, how would you keep the process repeatable, and how would you handle site-specific values without making the workflow brittle?
Your fleet includes devices from several vendors and a few older platforms with limited management capabilities. Some devices only expose a command-line session, while others support structured APIs and config transactions. The network team wants one automation approach instead of separate scripts per family. How would you decide what should be common across the fleet, what should stay vendor-specific, and what would tell you that the abstraction layer is becoming a maintenance problem?
You need to push a routing policy update to several thousand devices across multiple regions, but some devices can only handle a few concurrent sessions and the management plane rate-limits API calls. The network can only tolerate a very small blast radius if something goes wrong. How would you design the rollout pipeline, including concurrency control, pre-change checks, health validation, rollback criteria, and operator visibility during the change window?
Design a Python script to automate updating firewall rules across cloud VMs (AWS security groups or GCP firewall). Describe authentication, rate-limit handling, idempotency, detection of partial failure, rollback strategy, and how you'd safely run such automation in production.
Unlock Full Question Bank
Get access to all 14 Network Automation and Software-Defined Networking interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.