Skip to content

All certifications

CAS-005 practice question on Security automation, 2026-11-04

Archived question for 2026-11-04. Domain: Security Engineering. Objective 3.6: Security automation. Original SecLern question, written for practice.

A pipeline checks that Kubernetes manifests are valid YAML, and every manifest passes. One of them sets privileged: true for a container. Which addition is BEST?

Show the explanation

A parser says the file is valid, not that it is safe. Policy checks evaluate the settings.

Each option

  • A. A syntax tool cannot judge risk. It would be right for formatting consistency.
  • B. Comments do not show settings. It would be right for documentation.
  • C (correct). Correct: A policy scan evaluates what the settings allow, not just their syntax.
  • D. Speed does not add policy. It would be right for performance.

What this question tests

It maps to CAS-005 objective 3.6, Security automation: Given a scenario, use automation to secure the enterprise. Related ideas: iac scanning.

The published topics under this objective, so you can check what you have covered:

  • Scripting: PowerShell, Bash, Python; Cron/scheduled tasks; Event-based triggers; Generative AI: Code assist, Documentation
  • Infrastructure as code (IaC); Configuration files; Cloud APIs/software development kits (SDKs); Containerization
  • Automated patching; Auto-containment; Security orchestration, automation, and response (SOAR): Runbooks, Playbooks; Workflow automation
  • Vulnerability scanning and reporting; Security Content Automation Protocol (SCAP)

More from the archive

Start a daily session

Several questions at a time, aimed at your gaps.