Courseiva
Container Operations And LifecyclemediumMultiple ChoiceObjective-mapped

EX188 Container Operations And Lifecycle Practice Question

An administrator needs to copy a directory named /app/logs from a running container named prod_app to the local host directory /var/backups/. Which command accomplishes this?

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

podman cp prod_app:/app/logs /var/backups/

podman cp supports copying from a container path to a host path using container_path:host_path syntax.

Answer analysis

Option-by-option breakdown

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

  • podman export --path /app/logs prod_app /var/backups/

    Why it's wrong here

    podman export exports the entire container filesystem as a tarball, not individual directories with specific path arguments.

  • podman pull prod_app:/app/logs /var/backups/

    Why it's wrong here

    podman pull downloads container images from a registry.

  • podman download prod_app:/app/logs /var/backups/

    Why it's wrong here

    podman download is not a valid subcommand.

  • podman cp prod_app:/app/logs /var/backups/

    Why this is correct

    podman cp prod_app:/app/logs /var/backups/ correctly extracts the directory from the container to the host.

About these practice questions

Courseiva writes every EX188 question from scratch — 301 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 EX188 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 EX188 exam.