nerdexam
Cisco

300-215 · Question #128

Refer to the exhibit. Which type of code does this snippet represent?

The correct answer is A. Python script for user account management. The snippet uses Python syntax (import os) and calls os.system() to execute an operating system command (net user /add), which is a user account management action on Windows.

Submitted by yousef_jo· Mar 6, 2026Forensics Techniques

Question

Refer to the exhibit. Which type of code does this snippet represent?

Exhibit

300-215 question #128 exhibit

Options

  • APython script for user account management
  • Battempt to leverage a command injection vulnerability
  • Cbatch file for automating network tasks
  • Dsystem administration PowerShell script

How the community answered

(38 responses)
  • A
    82% (31)
  • B
    11% (4)
  • C
    5% (2)
  • D
    3% (1)

Explanation

The snippet uses Python syntax (import os) and calls os.system() to execute an operating system command (net user /add), which is a user account management action on Windows.

Topics

#Code analysis#Scripting#Python#User management

Community Discussion

No community discussion yet for this question.

Full 300-215 Practice