nerdexam
Cisco

200-901 · Question #466

While delivering a product, a team spends a lot of time installing dependencies to maintain the development and test environments. Both environments must be identical. Which action improves the…

The correct answer is C. Use containers to keep the environment consistent. Containers (e.g., Docker) package an application along with all its dependencies, libraries, and configuration into a single portable image. This ensures the development and test environments are identical and eliminates 'works on my machine' problems. Ansible playbooks can…

Infrastructure and Automation

Question

While delivering a product, a team spends a lot of time installing dependencies to maintain the development and test environments. Both environments must be identical. Which action improves the delivery?

Options

  • AUse an Ansible playbook to install the dependencies.
  • BPack everything into the released product.
  • CUse containers to keep the environment consistent.
  • DPre-install the product into a virtual machine.

How the community answered

(32 responses)
  • A
    6% (2)
  • B
    13% (4)
  • C
    78% (25)
  • D
    3% (1)

Explanation

Containers (e.g., Docker) package an application along with all its dependencies, libraries, and configuration into a single portable image. This ensures the development and test environments are identical and eliminates 'works on my machine' problems. Ansible playbooks can automate installation but don't guarantee identical environments across runs. Packing everything into the product is not a clean solution and adds bloat. Pre-installing into a VM is heavier and less portable than containers.

Topics

#Containers#Environment Consistency#Dependency Management#DevOps Practices

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice