200-301 exam dumps

200-301 practice question 461 of 506

Cisco Certified Network Associate. Free level, Cisco. Free question with the correct answer and a full explanation.

200-301 Question 461

Single answer

A network engineer is tasked with configuring a network using an automation tool to deploy consistent configurations across devices. Which programming language would most commonly be used in conjunction with REST APIs for network automation in this scenario?

  1. A

    Python

  2. B

    C++

  3. C

    Ruby

  4. D

    Assembly

Show answer and explanation

Correct answer: A

Explanation

Python is the most commonly used language for network automation due to its ease of use, readability, and compatibility with tools like REST APIs. It offers libraries such as 'requests' for API interaction and 'Netmiko' for device configuration, making it a preferred choice for tasks like deploying consistent configurations across multiple devices.

  • A. Correct.

    Python is widely used in network automation due to its simplicity, extensive library support, and compatibility with REST APIs.

  • B. Incorrect.

    C++ is a powerful language but is not commonly used for network automation tasks because it lacks the simplicity and libraries offered by Python.

  • C. Incorrect.

    Ruby is also a high-level programming language, but it is less commonly used in the context of network automation compared to Python.

  • D. Incorrect.

    Assembly is a low-level language and unsuitable for high-level tasks like network automation.

Timed practice exam

Take a 200-301 practice test under exam conditions

75 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam