exam questions

Exam CAS-005 All Questions

View all questions & answers for the CAS-005 exam

Exam CAS-005 topic 1 question 91 discussion

Actual exam question from CompTIA's CAS-005
Question #: 91
Topic #: 1
[All CAS-005 Questions]

A company is adopting microservice architecture in order to quickly remediate vulnerabilities and deploy to production. All of the microservices run on the same Linux platform. Significant time was spent updating the base OS before deploying code. Which of the following should the company do to make the process efficient?

  • A. Use Terraform scripts while creating golden images.
  • B. Create a cron job to run apt-update every 30 days.
  • C. Use snapshots to deploy code to existing compute instances.
  • D. Deploy a centralized update server.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
vicbersong
1 month, 2 weeks ago
Selected Answer: A
Why the other options are less effective: B. Create a cron job to run apt-update every 30 days: This automates updates but doesn't address deployment speed or image consistency across services. C. Use snapshots to deploy code to existing compute instances: Snapshots can help with backup and rollback, but they don’t optimize for efficient, consistent updates across all services. D. Deploy a centralized update server: Useful in traditional IT environments, but not ideal for dynamic, containerized, or microservice architectures where immutable infrastructure (e.g., golden images) is preferred. So, option A aligns best with modern DevOps and microservices practices.
upvoted 1 times
...
vicbersong
1 month, 2 weeks ago
Selected Answer: A
A. Use Terraform scripts while creating golden images. Explanation: In a microservice architecture where all services run on the same Linux platform, creating golden images (pre-configured, up-to-date machine or container images) can significantly reduce the overhead of updating the OS for every deployment. By automating the creation of these images using Terraform scripts (an Infrastructure as Code tool), the company ensures: OS and dependencies are consistently updated and secure. New microservices or updates can be deployed quickly using the latest base image. Infrastructure is reproducible, version-controlled, and scalable.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...