Skip to content
Sharp

Security · interview question

Which naming or modeling choice is strongest for safe subprocess calls?

Multiple choiceMediumchapter-17-curatedpremiumsecuritysafe-subprocess-calls
python
import subprocess

subprocess.run(["python", "worker.py", "--mode", "sync"], check=True)
Choose one answer
Answer and explanation

Correct answer

D. Use names and structures that describe the business fact directly instead of temporary implementation noise.

Why

Clear naming and modeling shorten debugging, review, and onboarding time.

Test yourself on Security

A free test with instant, explained results. No account needed.

Start free test
All Security questions →