JNCIA-DevOps: Juniper Networks Certified Associate – Automation and DevOps — Question 7
You want to restrict access to the REST API on a Junos device?
What are two ways to accomplish this task? (Choose two.)
Answer options
- A. Enable a maximum number of connections
- B. Restrict access by the source MAC address
- C. Restrict access by the source IP address
- D. Enable a schedule of specific access times
Correct answer: C, D
Explanation
The correct answers are C and D. Restricting access by the source IP address (C) allows you to control which devices can access the API based on their IPs, while enabling a schedule for specific access times (D) further limits when the API can be accessed. Options A and B are not valid methods for restricting REST API access in this context.