For compliance purposes, a cloud developer at an insurance company needs to save all customer policies for more than ten years. Which of the following options is the most cost-efficient tier to save the data in the cloud?
Answer(s): A
The archive storage tier is the most cost-efficient option for long-term data retention, especially for compliance requirements where data is rarely accessed. Cloud providers offer low-cost, long-term storage for data that does not need frequent retrieval, making it ideal for storing customer policies for more than ten years. Although retrieval times may be slower compared to hot or warm storage, archive storage is significantly cheaper, making it the best option for cost efficiency in this scenario.
Which of the following do developers use to keep track of changes made during software development projects?
Answer(s): D
Code versioning (also known as version control) is a system that allows developers to track changes, manage revisions, and collaborate efficiently on software development projects. It helps in maintaining a history of changes, enabling rollbacks, and managing different branches of development. Tools like Git, SVN, and Mercurial are commonly used for code versioning to ensure smooth collaboration and maintain code integrity.
Which of the following strategies requires the development of new code before an application can be successfully migrated to a cloud provider?
Which of the following reduces the chance of introducing a misconfiguration into cloud deployment templates?
Answer(s): B
Pull requests (PRs) are a key part of code review processes in version control systems like Git. By requiring pull requests before merging changes into the main branch, teams can review, validate, and test changes before they go live. This helps catch misconfigurations early, ensuring that cloud deployment templates remain secure and function correctly. A peer review process via pull requests reduces errors and enforces best practices before updates are integrated.
An administrator is creating a cron job that shuts down the virtual machines at night to save on costs. Which of the following is the best way to achieve this task?
Answer(s): C
The best way to check if a virtual machine is running before shutting it down is to compare its status using ==. The condition if [ describe_vm_status(X) == running] correctly checks if the VM status is "running", and if so, it executes shutdown_vm(X). This ensures that only running VMs are shut down, preventing unnecessary shutdown attempts on already stopped VMs.
Post your Comments and Discuss CompTIA CV0-004 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the CV0-004 content, but please register or login to continue.