A service provider is implementing network automation using YANG data models. They need to ensure that the automation solution supports both configuration and operational state data retrieval. Which NETCONF operation should be used to retrieve operational state data?
Trap 1: <edit-config>
Used to edit configuration, not retrieve data.
Trap 2: <get-config>
Retrieves only configuration data, not operational state.
Trap 3: <lock>
Used to lock a datastore, not retrieve data.
- A
<edit-config>
Why wrong: Used to edit configuration, not retrieve data.
- B
<get-config>
Why wrong: Retrieves only configuration data, not operational state.
- C
<get>
Retrieves both configuration and operational state data.
- D
<lock>
Why wrong: Used to lock a datastore, not retrieve data.