nerdexam
Palo_Alto_Networks

PCCSE · Question #217

Given the following information, which twistcli command should be run if an administrator were to exec into a running container and scan it from within using an access token for authentication?…

The correct answer is C. twistcli images scan --address https://prisma-console.mydomain.local --token TOKEN_VALUE --. The correct twistcli syntax uses '--address' (not '--console-address') to specify the Console URL, and '--token' (not '--auth-token') to pass the authentication token. Answer C uses both correct flags: 'twistcli images scan --address https://prisma-console.mydomain.local…

Container Security

Question

Given the following information, which twistcli command should be run if an administrator were to exec into a running container and scan it from within using an access token for authentication?

Options

How the community answered

(36 responses)
  • A
    11% (4)
  • B
    3% (1)
  • C
    78% (28)
  • D
    8% (3)

Explanation

The correct twistcli syntax uses '--address' (not '--console-address') to specify the Console URL, and '--token' (not '--auth-token') to pass the authentication token. Answer C uses both correct flags: 'twistcli images scan --address https://prisma-console.mydomain.local --token TOKEN_VALUE'. When executing from inside a running container, the scan is performed against the container's own filesystem. Options A and C both use '--address' and '--token', but C correctly includes all required parameters in the right order. Options B and D use the wrong flag names ('--console-address' and '--auth-token'), which are not valid twistcli flags and would cause the command to fail.

Topics

#twistcli#Container Scanning#CLI Commands#Prisma Cloud

Community Discussion

No community discussion yet for this question.

Full PCCSE Practice