Exam PCCSE All QuestionsBrowse all questions from this exam
Question 246

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?

    Correct Answer: A

    To output scan results to stdout in tabular format, the correct flag is --stdout-tabular. To write scan results to a JSON file, the --output-file flag is used. Combining these flags in the command ensures that scan results are sent to the console while being displayed in tabular format on stdout and written to a JSON file. Option A correctly uses --stdout-tabular and --output-file, making it the proper command for achieving both objectives.

Discussion
BubblemanOption: 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

piipoOption: D

D is Correct

piipoOption: C

https://docs.prismacloud.io/en/classic/compute-admin-guide/tools/twistcli-scan-images

piipoOption: 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.

piipo

I made a mistake. The correct answer is C.