Question 181 · 242 in bank
DRAG DROP - An administrator needs to write a script that automatically deactivates access keys that have not been used for 30 days. In which order should the API calls be used to accomplish this task? (Drag the steps into the correct order from the first step to the last.) Select and Place:

This is an interactive task on the real exam — a drag-and-drop, hotspot or ordering question. There is nothing to select here, so the answer is shown below for reference.
Show the answer figure
Answer: See figure below
Explanation
The correct order seems to be: POST > GET > PATCH 1) POST as shown in Step 1 (doc below) Authenticate to obtain a JWT: --request POST \ 'https://api.prismacloud.io/login' 2) GET (access keys) 3) PATCH (Update or Patch access_keys/status https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin/get-started-with-prisma-cloud/access-the-prisma-cloud-api
Source: Adapted from community discussion — Jihe
References

