Prisma Certified Cloud Security Engineer (PCCSE) — Question 10
Which container image scan is constructed correctly?
Answer options
- A. twistcli images scan --docker-address https://us-west1.cloud.twistlock.com/us-3-123456789 myimage/latest
- B. twistcli images scan --address https://us-west1.cloud.twistlock.com/us-3-123456789 myimage/latest
- C. twistcli images scan --address https://us-west1.cloud.twistlock.com/us-3-123456789 --container myimage/latest
- D. twistcli images scan --address https://us-west1.cloud.twistlock.com/us-3-123456789 --container myimage/latest --details
Correct answer: B
Explanation
Option B is correct because it uses the correct flag '--address' for scanning the image. Option A incorrectly uses '--docker-address', which is not a valid flag. Options C and D incorrectly include the '--container' flag, which is unnecessary for the command to function properly in this context.