PCCSE practice question 8 of 35
A customer wants to scan a serverless function as part of a build process. Which twistcli command can be used to scan serverless functions?
Full set: 259 questionstwistcli is the command-line interface for Prisma Cloud Compute. To scan serverless functions for vulnerabilities and compliance issues as part of a CI/CD pipeline or build process, the correct command syntax is twistcli serverless scan. This command takes the function's code package (e.g., a .zip file) as an argument and analyzes its contents, including dependencies, against the vulnerability intelligence and compliance policies configured in the Prisma Cloud console.
A. twistcli function scan: The function keyword is not the correct component name for this type of scan in the twistcli syntax; serverless is the correct term.
B. twistcli scan serverless: This reverses the standard twistcli [component] [action] command structure, making the syntax invalid.
C. twistcli serverless AWS: This command is incomplete. It specifies the component (serverless) but lacks an action verb like scan.
1. Palo Alto Networks, Prisma Cloud Administrator's Guide (Compute), "Scanning functions with twistcli". This section explicitly documents the command and its usage: "Use twistcli serverless scan to scan your functions for vulnerabilities."
2. Palo Alto Networks, Prisma Cloud Docs, "twistcli command reference". The official command reference lists serverless scan as the command for scanning serverless function packages, providing syntax examples and available options.
Keep practicing
Take the free PCCSE practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PCCSE practice questions
- Question 1In Prisma Cloud for Azure Net Effective Permissions Calculation, the following Azure perm…
- Question 2Which container image scan is constructed correctly?
- Question 3Given a default deployment of Console, a customer needs to identify the alerted complianc…
- Question 4A customer is reviewing Container audits, and an audit has identified a cryptominer attac…
- Question 5Which statement about build and run policies is true?
- Question 6The development team wants to fail CI jobs where a specific CVE is contained within the i…
