PCCSE · Question #50
A customer wants to scan a serverless function as part of a build process. Which twistcli command can be used to scan serverless functions?
The correct answer is B. twistcli serverless scan <SERVERLESS_FUNCTION.ZIP>. The correct twistcli syntax for scanning serverless functions is: 'twistcli serverless scan <SERVERLESS_FUNCTION.ZIP>'. The command structure follows the pattern: tool name (twistcli), resource type (serverless), action (scan), and the target artifact (the zip file containing the
Question
A customer wants to scan a serverless function as part of a build process. Which twistcli command can be used to scan serverless functions?
Options
- Atwistcli serverless AWS <SERVERLESS_FUNCTION ZIP>
- Btwistcli serverless scan <SERVERLESS_FUNCTION.ZIP>
- Ctwistcli scan serverless <SERVERLESS_FUNCTION Z1P>
- Dtwistcli function scan <SERVERLESS_FUNCT10N ZIP>
How the community answered
(46 responses)- A4% (2)
- B87% (40)
- C2% (1)
- D7% (3)
Explanation
The correct twistcli syntax for scanning serverless functions is: 'twistcli serverless scan <SERVERLESS_FUNCTION.ZIP>'. The command structure follows the pattern: tool name (twistcli), resource type (serverless), action (scan), and the target artifact (the zip file containing the function). Option A incorrectly specifies the provider (AWS) instead of the 'scan' subcommand. Option C reverses the order of 'scan' and 'serverless'. Option D uses 'function' instead of 'serverless', which is not the correct subcommand.
Topics
Community Discussion
No community discussion yet for this question.