Free CV0-004 Exam Braindumps
CompTIA Cloud+ Questions 141–145 (page: 30)

Updated On: 21-Sep-2026

A cloud administrator is provisioning infrastructure to run an application with the following requirements:
-Ten midsize instances need to run as a cluster most of the day.
-Sixteen midsize instances are required during peak hours.
-Costs must be kept low.
-The instances must be deployed in an IaaS model.
-The application has no tolerance for service disruptions.
Which of the following steps should the cloud architect take to host the application?

  1. Reserve 16 instances but turn off the unused instances outside of peak hours.
  2. Use ten pay-as-you-go instances and add six spot instances during peak hours.
  3. Deploy reserved instances for normal operation and add pay-as-you-go instances during peak hours.
  4. Configure the workload to use spot instances with scheduled scaling for normal operation, including peak hours.

Answer(s): C

Explanation:

This solution provides a cost-effective and highly available approach to meet the application’s needs:
-Reserved instances are a good fit for the ten midsize instances that run most of the day, as they are typically offered at a discounted rate and are guaranteed.
-During peak hours, pay-as-you-go instances can be added to handle the additional six instances required. This ensures scalability without committing to additional reserved capacity for off-peak times, which helps in reducing costs.
-



An IT manager is planning a cloud deployment for a new company. The company does not want on-premises servers or applications.
Which of the following is the best approach for the manager to take?

  1. Colocation — PaaS
  2. Implementation — SaaS
  3. Migration — IaaS
  4. Hybrid — XaaS

Answer(s): B

Explanation:

Since the company does not want on-premises servers or applications, the best approach would be to leverage Software as a Service (SaaS). SaaS provides fully managed applications over the internet, allowing the company to use applications without the need to manage servers, infrastructure, or other IT resources on-premises. Examples include applications like Google Workspace, Salesforce, and Microsoft 365, which offer complete solutions that are managed and maintained by the service provider.



An on-call cloud engineer receives a critical alert about an e-commerce web server being unresponsive.
Which of the following steps should the engineer take first?

  1. Triage
  2. Remediation
  3. Escalation
  4. Monitoring

Answer(s): A

Explanation:

Triage is the first step in incident response. The cloud engineer needs to assess the alert, determine the severity of the issue, and gather relevant information before taking further action. This process helps prioritize the problem and decide the next course of action, such as remediation or escalation.



Which of the following files should be used to install software with a package manager?

  1. package.json
  2. package.zip
  3. package.deb
  4. package.tar

Answer(s): C

Explanation:

In Linux-based systems, .deb files are used by package managers like dpkg and APT (Advanced Package Tool) to install software on Debian-based distributions (e.g., Ubuntu). Package managers handle dependencies and ensure proper installation.



An application that is running on containers writes files to the operating system after processing data. The produced output files are stored under /project-files owned by root. A cloud engineer needs to make sure no output files are owned by root.
Which of the following actions should the engineer take to best achieve this objective?

  1. Mount the volume in Docker using --user=myapp.
  2. Add USER myapp to the Dockerfile and rebuild the container.
  3. Run chown myapp:myapp /project-files with cron every minute.
  4. Modify the container application to execute sudo -u myapp myapp.

Answer(s): B

Explanation:

By adding USER myapp to the Dockerfile, the container will run processes as the specified non-root user instead of the default root user. This ensures that any files created inside the container, including those in / project-files, are owned by myapp rather than root. Running containers as a non-root user is also a best practice for security.



Viewing page 30 of 64
Viewing questions 146 - 150 out of 314 questions


Post your Comments and Discuss CompTIA CV0-004 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!