Prisma Certified Cloud Security Engineer (PCCSE) — Question 232
Which container scan is constructed correctly?
Answer options
- A. twistcli images scan -u api -p api --address https://us-west1.cloud.twistlock.com/us-3-123456789 --container myimage/latest
- B. twistcli images scan --docker-address https://us-west1.cloud.twistlock.com/us-3-123456789 myimage/latest
- C. twistcli images scan -u api -p api --address https://us-west1.cloud.twistlock.com/us-3-123456789 --details myimage/latest
- D. twistcli images scan -u api -p api --docker-address https://us-west1.cloud.twistlock.com/us-3-123456789 myimage/latest
Correct answer: C
Explanation
Option C is correct because it includes the required parameters '-u', '-p', and '--address', along with the '--details' flag, which is valid for the command structure. Options A and D incorrectly use '--container' and '--docker-address' respectively, which are not part of the correct syntax for this command. Option B lacks the user credentials and thus is incomplete.