Courseiva
Troubleshooting And DiagnosticsmediumMultiple ChoiceObjective-mapped

EX280 Troubleshooting And Diagnostics Practice Question

An administrator needs to drain a worker node safely for hardware maintenance, but some pods have local emptyDir storage that would be permanently deleted. Which flag must be added to the drain command to allow eviction of these pods?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

--delete-emptydir-data

Pods with emptyDir volumes are protected by default during drains. The --delete-emptydir-data flag overrides this protection.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • --allow-local-volumes

    Why it's wrong here

    This is an invalid flag name.

  • --ignore-daemonsets=false

    Why it's wrong here

    Daemonsets are ignored by default during drains; setting this to false would cause the drain to fail.

  • --delete-emptydir-data

    Why this is correct

    This flag allows draining nodes even when pods contain local emptyDir volumes.

  • --force-local-storage

    Why it's wrong here

    This is not a valid flag for oc adm drain.

About these practice questions

Courseiva writes every EX280 question from scratch — 509 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official Red Hat exam blueprint

This EX280 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX280 exam.