nerdexam
CompTIA

CAS-002 · Question #545

Which of the following refers to programs running in an isolated space to run untested code and prevents the code from making permanent changes to the OS kernel and other data on the host machine?

The correct answer is D. Application sandboxing. Application sandboxing isolates untested or untrusted code in a restricted execution environment, preventing it from permanently modifying the OS kernel or other host data.

Technical Integration of Enterprise Components

Question

Which of the following refers to programs running in an isolated space to run untested code and prevents the code from making permanent changes to the OS kernel and other data on the host machine?

Options

  • AInput Validation
  • BApplication hardening
  • CCode signing
  • DApplication sandboxing

How the community answered

(54 responses)
  • A
    4% (2)
  • C
    2% (1)
  • D
    94% (51)

Why each option

Application sandboxing isolates untested or untrusted code in a restricted execution environment, preventing it from permanently modifying the OS kernel or other host data.

AInput Validation

Input validation sanitizes data entering an application to prevent injection attacks but does not create an isolated execution environment for untested code.

BApplication hardening

Application hardening reduces an application's attack surface through secure configuration and patch management but does not isolate code execution from the underlying OS.

CCode signing

Code signing uses cryptographic signatures to verify software authenticity and integrity but does not restrict or isolate how the code executes on the host system.

DApplication sandboxingCorrect

Application sandboxing creates a confined execution space where code runs with restricted access to system resources, the OS kernel, and user data. Any changes made within the sandbox are temporary and discarded when the session ends, preventing permanent damage to the host. This technique is widely used for running untrusted code, analyzing malware, and testing applications safely without risk to the underlying system.

Concept tested: Application sandboxing isolating untested code from host OS

Source: https://csrc.nist.gov/glossary/term/sandbox

Topics

#application sandboxing#code isolation#OS protection#malware containment

Community Discussion

No community discussion yet for this question.

Full CAS-002 Practice