JNCIA-DevOps: Juniper Networks Certified Associate – Automation (2023) — Question 9

A REST API client uses which two HTTP methods to execute RPC requests on the server? (Choose two.)

Answer options

Correct answer: A, C

Explanation

The correct answers are A (POST) and C (GET) because these methods are commonly used in RESTful APIs to send data to the server and retrieve data, respectively. Options B (HEAD) and D (CONNECT) are not typically used for executing RPC requests; HEAD is primarily for retrieving header information and CONNECT is used for establishing a tunnel to the server.