300-435 exam dumps

300-435 practice question 100 of 322

Automating Cisco Enterprise Solutions. Professional level, Cisco. Free question with the correct answer and a full explanation.

300-435 Question 100

Single answer

A network engineer is tasked with automating the retrieval of configuration data from a Cisco device using RESTCONF. The engineer must access the running configuration of the device securely. Which URI should the engineer use to accomplish this task?

  1. A

    https:///restconf/data/Cisco-IOS-XE-native:native/running-config

  2. B

    https:///restconf/data/Cisco-IOS-XE-native:native

  3. C

    http:///restconf/data/Cisco-IOS-XE-native:native/running-config

  4. D

    https:///restconf/operations/Cisco-IOS-XE-native:native/get-config

Show answer and explanation

Correct answer: B

Explanation

RESTCONF is a RESTful API used to access and modify configuration and operational data on network devices. To retrieve the running configuration, the correct URI must include the module and container structure (e.g., 'Cisco-IOS-XE-native:native') and must use HTTPS for secure communication. The correct answer adheres to these requirements.

  • A. Incorrect.

    This option is incorrect because the URI includes 'running-config,' which is not a valid RESTCONF resource path. RESTCONF does not use 'running-config' in the URI; instead, the configuration data is accessed via the module and container structure.

  • B. Correct.

    This is the correct answer because the URI follows the RESTCONF structure for accessing configuration data. It uses HTTPS for secure communication, and the path specifies the 'Cisco-IOS-XE-native' module and the 'native' container, which corresponds to the running configuration.

  • C. Incorrect.

    This option is incorrect because it uses HTTP instead of HTTPS. RESTCONF requires HTTPS to ensure secure communication with the network device.

  • D. Incorrect.

    This option is incorrect because RESTCONF does not use 'operations' in the URI for accessing configuration data. The 'operations' resource is used for invoking RPCs or actions, not for retrieving configurations.

Timed practice exam

Take a 300-435 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