Pre-Summer Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

CompTIA CV0-004 - CompTIA Cloud+ (V4)

Page: 3 / 8
Total 254 questions

Users have been reporting that a remotely hosted application is not accessible following a recent migration. However, the cloud administrator is able to access the application from

the same site as the users. Which of the following should the administrator update?

A.

Cipher suite

B.

Network ACL

C.

Routing table

D.

Permissions

An organization uses a cloud provider’s specific features to host applications. The organization planned to move to another cloud provider due to rising costs, but moving was not technically feasible. Which of the following best describes this situation?

A.

Platform as a service

B.

Oversubscription

C.

Vendor lock-in

D.

Regulatory compliance

A cloud engineer must update the company’s code repository, which is running on a VM, to the latest version. The engineer downloads and runs the latest update, which appears to be successful. Which of the following steps should the engineer take next?

A.

Back up the repository.

B.

Decommission the repository.

C.

Restore the repository.

D.

Test the repository functionality.

A CI/CD pipeline is used to deploy VMs to an laaS environment. Which of the following can be used to harden the operating system once the VM is running?

A.

Docker

B.

Kubernetes

C.

Git

D.

Ansible

A cloud engineer is developing an operating expense report that will be used to purchase various cloud billing models for virtual machine instances. The cloud billing model must meet the following requirements:

• The instance cannot be ephemeral.

• The minimum life cycle of the instance is expected to be five years.

• The software license is charged per physical CPU count.

Which of the following models would best meet these requirements?

A.

Dedicated host

B.

Spot instance

C.

Pay-as-you-go

D.

Reserved resources

A developer is building a new application version using a CI/CD pipeline. The developer receives the following error message log when the build fails:

Which of the following is the most likely cause of this failure?

A.

Incorrect version

B.

Test case failure

C.

Broken build pipeline

D.

Dependency issue

A cloud engineer is exploring options to reduce the management overhead of the servers and network. Which of the following cloud service models should the engineer implement?

A.

SaaS

B.

XaaS

C.

PaaS

D.

laaS

An on-premises data center is located in an earthquake-prone location. The workload consists of real-time, online transaction processing. Which ot the following data protection strategies should be used to back up on-premises data to the cloud while also being cost effective?

A.

Remote replication for failover

B.

A copy that is RAID 1 protected on spinning drives in an on-premises private cloud

C.

A full backup to on-site tape libraries in a private cloud

D.

Air-gapped protection to provide cyber resiliency

A systems administrator needs to configure a script that will monitor whether an application is healthy and stop the VM if an unsuccessful code is returned. Which of the following

scripts should the systems administrator use to achieve this goal?

A.

RESPONSE_CODE }string APP_URLbool RESPONSE_CODEstring VMhealth checker (APP_URL, VM) {if [ http_probe (APP_URL) == 200] {echo RESPONSE_CODE }else{stop (VM)echo

B.

else{echostring APP_URLfloat RESPONSE_CODEstring VMhealth_checker (APP_URL, VM) {if [ http_probe (APP_URL) == 200] {stop (RESPONSE_CODE)echo VM }stop (VM)RESPONSE CODE }

C.

else{echostring APP_URLint RESPONSE CODEstring VMhealth checker (APP_URL, VM) {if [ http_probe (APP_URL) == 200] {echo RESPONSE_CODE }stop (VM)RESPONSE_CODE }

D.

else{echostring APP_URLint RESPONSE_CODEstring VMhealth_checker (APP_URL, VM) {if [ http_probe (VM) == 200] {stop (VM)echo RESPONSE_CODE }RESPONSE CODE }

A cloud solutions architect wants to deploy a three-tier web application that requires the minimum amount of operational overhead. Which of the following is the best template given these requirements?

A.

virtual_machine:

name: front-end vm

size: small

bootstrapping: git

repository: front-end-repo

autoScaling: enabled

object_storage:

name: query-handler

staticWebContent: disabled

versioning: enabled

virtual_machine:

name: db-vm

size: medium

bootstrapping: /bin/bash yum install -y psql

B.

object_storage:

name: front-end

staticWebContent: enabled

versioning: enabled

serverless_function:

name: app

runtime: nodejs

memorySize: 2G

code: git

repository: backend-repo

relational_database:

engine: postgreSQL

clusterNode: enabled

C.

virtual_machine:

name: three tiered app

size: xlarge

bootstrapping: /bin/bash yum install -y nodejs httpd psql && \

git clone three-tiered-app && \

./app.sh --listen 8443

autoScaling: enabled

load_balancer:

name: front-end-lb

target: three-tiered-app

targetPort: 8443

listener: 443

D.

object_storage:

name: front-end

staticWebContent: enabled

versioning: enabled

virtual_machine:

name: app-vm

size: small

bootstrapping: git

repository: backend-repo

autoScaling: enabled

relational_database:

engine: postgreSQL

clusterNode: enabled