CompTIA Cloud+ (CV0-004) — Question 32
A company uses containers stored in Docker Hub to deploy workloads for its IaaS infrastructure. The development team releases changes to the containers several times per hour.
Which of the following should a cloud engineer do to prevent the proprietary code from being exposed to third parties?
Answer options
- A. Use IaC to deploy the IaaS infrastructure.
- B. Convert the containers to VMs.
- C. Deploy the containers over SSH.
- D. Use private repositories for the containers.
Correct answer: D
Explanation
The correct choice is D, as using private repositories ensures that only authorized users can access the proprietary code stored within the containers. Options A, B, and C do not address the security of the code itself, but rather focus on infrastructure deployment methods or container execution techniques, which do not inherently protect the code from exposure.