JNCIA-DevOps: Juniper Networks Certified Associate – Automation (2021) — Question 38
Which code format is a valid example of an HTTPS get-interface-information method using the default port?
Answer options
- A. https://172.25.11.1:8443/api/get-interface-information
- B. https://172.25.11.1:3443/get-interface-information
- C. https://172.25.11.1:3443/rpc/get-interface-information
- D. https://172.25.11.1/api/get-interface-information:3443
Correct answer: C
Explanation
The correct answer is C because it uses the proper HTTPS format along with the correct endpoint for the get-interface-information method. Options A and B use non-default ports, and option D incorrectly places the port number at the end of the URL instead of following the IP address.