Implementing and Operating Cisco Data Center Core Technologies (DCCOR) — Question 344
A network automation engineer must configure a Cisco NX-OS REST API on a Cisco 9000 Series Switch with these requirements:
• NX-API REST and the DME database must be enabled.
• The NX-API REST must listen for HTTP traffic on port 83.
• The HTTPS certificate must be uploaded.
Which configuration set must be used to accomplish these goals?
Answer options
- A. feature nxapi nxapi (tcp) port 83 nxapi certificate {httpscrt}
- B. feature nxapi nxapi (tcp) port 83 nxapi certificate {httpscrt} nxapi certificate enable
- C. feature nxapi nxapi (http) port 83 nxapi certificate {httpscrt}
- D. feature nxapi nxapi {http} port 83 nxapi certificate {httpscrt | httpskey} nxapi certificate enable
Correct answer: D
Explanation
The correct answer is D as it specifies the NX-API REST feature, sets the port for HTTP traffic, and includes the necessary certificate and enabling command. Option A and B incorrectly use 'tcp' instead of 'http', while C does not include the command to enable the certificate.