exam questions

Exam PCCSE All Questions

View all questions & answers for the PCCSE exam

Exam PCCSE topic 1 question 247 discussion

Actual exam question from Palo Alto Networks's PCCSE
Question #: 247
Topic #: 1
[All PCCSE Questions]

Which command correctly outputs scan results to stdout in tabular format and writes scan results to a JSON file while still sending the results to Console?

  • A. $ twistcli images scan
    --address
    --user
    --password
    --stdout-tabular
    --output-file scan-results.json
    nginx:latest
  • B. $ twistcli images scan
    --address
    --username
    --password
    --details
    --json-output scan-results.json
    nginx:latest
  • C. $ twistcli images scan
    --address
    --user
    --password
    --details
    --file-output scan-results.json
    nginx:latest
  • D. $ twistcli images scan
    --address
    --u
    --p
    --details
    --output-file scan-results.json
    nginx:latest
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
3ff5100
3 months, 1 week ago
Selected Answer: C
C. This question is a trick, but C is actually correct because if you use --u it is wrong. The correct command for abbreviations like --user or --password is with just a hyphen in front of the letter, like -u or -p.
upvoted 1 times
...
LP223
4 months, 1 week ago
Selected Answer: D
https://docs.prismacloud.io/en/classic/compute-admin-guide/tools/twistcli-scan-images
upvoted 1 times
...
Bubbleman
9 months, 1 week ago
Selected Answer: D
D is Correct. Already tested on lab environment with this command. ./twistcli images scan --address <CONSOLE_ADDRESS> --u <ACCESS_KEY> --p <SECRET_KEY> --details --output-file scan-results.json nginx:latest
upvoted 1 times
...
piipo
10 months, 3 weeks ago
Selected Answer: D
D is Correct
upvoted 1 times
...
piipo
10 months, 3 weeks ago
Selected Answer: C
https://docs.prismacloud.io/en/classic/compute-admin-guide/tools/twistcli-scan-images
upvoted 2 times
...
piipo
10 months, 3 weeks ago
Selected Answer: D
To write scan results to stdout in tabular format, pass the --details flag to twistcli. This does not affect where the results are sent. To write scan results to a file in JSON format, pass the --output-file flag to twistcli. The file schema is being kept for backwards compatibility.
upvoted 1 times
piipo
10 months, 3 weeks ago
I made a mistake. The correct answer is C.
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago