CompTIA CV0-004 Practice Test 48
Question 470
Before changing production at a regional health provider, a CI pipeline stores a year-long cloud API key in plaintext in its configuration repository. Which evidence should the engineer check first?
- Review reachable public ports, bastion audit logs and administrative role boundaries.
- Review pipeline trust claims, secret history, assigned roles and token lifetime.
- Inspect effective role assignments, resource scope and inherited privileges.
- Inspect identity mappings, federation trust and session revocation capabilities.
Explanation
Correct Answer
B:Review pipeline trust claims, secret history, assigned roles and token lifetime. This distinguishes the relevant dependency before changing cloud resources. Short-lived identity tokens reduce secret persistence but still require least-privilege resource roles.
Incorrect Answers
A:That approach would help when administrators expose SSH and RDP directly to the internet for ease of managing private cloud servers. Review pipeline trust claims, secret history, assigned roles and token lifetime.
C:Inspect effective role assignments, resource scope and inherited privileges. The relevant cloud response here is: Review pipeline trust claims, secret history, assigned roles and token lifetime.
D:Inspect identity mappings, federation trust and session revocation capabilities. The relevant cloud response here is: Review pipeline trust claims, secret history, assigned roles and token lifetime.
Question 471
The incident responder reviews a case where a junior operator needs to restart one test VM but receives full subscription administrator privileges. What should the team change first?
- Use scoped workload identity federation or managed identity instead of embedded static credentials.
- Assign individual privileged identities and forward immutable signed-in administrative activity logs.
- Assign a role with the specific operation at the smallest supported resource scope.
- Use a governed federated identity provider with synchronized lifecycle deprovisioning.
Explanation
Correct Answer
C:RBAC maps permissions to identities and scopes, so broad assignments create unnecessary escalation risk. The change should be verified, not just applied: The operator can restart the test VM but cannot change production resources or roles.
Incorrect Answers
A:That approach would help when a CI pipeline stores a year-long cloud API key in plaintext in its configuration repository. In this case, rBAC maps permissions to identities and scopes, so broad assignments create unnecessary escalation risk.
B:Accountability requires identifiable principals and tamper-resistant audit evidence. The relevant cloud response here is: Assign a role with the specific operation at the smallest supported resource scope.
D:Federation centralizes authentication while each application still enforces its own authorization. The relevant cloud response here is: Assign a role with the specific operation at the smallest supported resource scope.
Question 472
A junior operator needs to restart one test VM but receives full subscription administrator privileges. What underlying cloud behavior should the engineer recognize?
- Accountability requires identifiable principals and tamper-resistant audit evidence.
- Short-lived identity tokens reduce secret persistence but still require least-privilege resource roles.
- A bastion provides a managed administrative ingress boundary without opening every host publicly.
- RBAC maps permissions to identities and scopes, so broad assignments create unnecessary escalation risk.
Explanation
Correct Answer
D:The evidence of success is: The operator can restart the test VM but cannot change production resources or roles.
Incorrect Answers
A:That approach would help when a cloud team uses one shared root account for maintenance and cannot attribute configuration changes to individuals. Check the difference through: Inspect effective role assignments, resource scope and inherited privileges.
B:The alternative is aimed at a different condition: A CI pipeline stores a year-long cloud API key in plaintext in its configuration repository. It does not directly resolve the described failure. RBAC maps permissions to identities and scopes, so broad assignments create unnecessary escalation risk. Check the difference through: Inspect effective role assignments, resource scope and inherited privileges.
C:The proposed measure serves a related cloud task, but the present symptom calls for a more specific response. RBAC maps permissions to identities and scopes, so broad assignments create unnecessary escalation risk. Check the difference through: Inspect effective role assignments, resource scope and inherited privileges.
Question 473
During postchange validation at a global distribution company, a junior operator needs to restart one test VM but receives full subscription administrator privileges. What outcome would prove the intended safeguard works?
- The operator can restart the test VM but cannot change production resources or roles.
- Administrators can connect through the approved path while direct public SSH/RDP connections fail.
- The app can read permitted calendar data while write/admin calls are rejected.
- A disabled test workforce identity loses cloud application access within the documented propagation period.
Explanation
Correct Answer
A:The operator can restart the test VM but cannot change production resources or roles. This proves the service behavior rather than just showing a changed configuration. RBAC maps permissions to identities and scopes, so broad assignments create unnecessary escalation risk.
Incorrect Answers
B:That approach would help when administrators expose SSH and RDP directly to the internet for ease of managing private cloud servers. The required acceptance result is: The operator can restart the test VM but cannot change production resources or roles.
C:RBAC maps permissions to identities and scopes, so broad assignments create unnecessary escalation risk.
D:A disabled test workforce identity loses cloud application access within the documented propagation period. The relevant cloud response here is: The operator can restart the test VM but cannot change production resources or roles.
Question 474
A review identifies this symptom: a junior operator needs to restart one test VM but receives full subscription administrator privileges. Which read-only investigation is most useful?
- Review sign-in logs, authentication methods and exception break-glass design.
- Inspect effective role assignments, resource scope and inherited privileges.
- Inspect principal identities, log delivery, time synchronization and emergency-account usage.
- Review pipeline trust claims, secret history, assigned roles and token lifetime.
Explanation
Correct Answer
B:Inspect effective role assignments, resource scope and inherited privileges. This distinguishes the relevant dependency before changing cloud resources. RBAC maps permissions to identities and scopes, so broad assignments create unnecessary escalation risk.
Incorrect Answers
A:That approach would help when administrative cloud accounts authenticate with only a password and attackers have begun credential-spraying attempts. Inspect effective role assignments, resource scope and inherited privileges.
C:Inspect principal identities, log delivery, time synchronization and emergency-account usage. The relevant cloud response here is: Inspect effective role assignments, resource scope and inherited privileges.
D:Review pipeline trust claims, secret history, assigned roles and token lifetime. The relevant cloud response here is: Inspect effective role assignments, resource scope and inherited privileges.
Question 475
At a global distribution company, administrators expose SSH and RDP directly to the internet for ease of managing private cloud servers. Which response most directly addresses this specific cloud challenge?
- Require phishing-resistant MFA where supported and reduce standing privileged sessions.
- Use a governed federated identity provider with synchronized lifecycle deprovisioning.
- Restrict host access through a controlled bastion or private management path.
- Use narrow delegated OAuth scopes with consent and token audience validation.
Explanation
Correct Answer
C:A bastion provides a managed administrative ingress boundary without opening every host publicly. The change should be verified, not just applied: Administrators can connect through the approved path while direct public SSH/RDP connections fail.
Incorrect Answers
A:That approach would help when administrative cloud accounts authenticate with only a password and attackers have begun credential-spraying attempts. In this case, a bastion provides a managed administrative ingress boundary without opening every host publicly.
B:Federation centralizes authentication while each application still enforces its own authorization. The relevant cloud response here is: Restrict host access through a controlled bastion or private management path.
D:OAuth authorization scopes restrict a client application's permitted API actions but do not establish every user's business rights. The relevant cloud response here is: Restrict host access through a controlled bastion or private management path.
Question 476
In a technical review for a regional health provider, administrators expose SSH and RDP directly to the internet for ease of managing private cloud servers. Which cloud principle is most relevant?
- MFA raises the proof needed for sign-in but does not replace least-privilege authorization.
- Federation centralizes authentication while each application still enforces its own authorization.
- Short-lived identity tokens reduce secret persistence but still require least-privilege resource roles.
- A bastion provides a managed administrative ingress boundary without opening every host publicly.
Explanation
Correct Answer
D:The evidence of success is: Administrators can connect through the approved path while direct public SSH/RDP connections fail.
Incorrect Answers
A:That approach would help when administrative cloud accounts authenticate with only a password and attackers have begun credential-spraying attempts. Check the difference through: Review reachable public ports, bastion audit logs and administrative role boundaries.
B:The alternative is aimed at a different condition: Employees have separate cloud passwords for each vendor and HR termination does not remove all credentials. Check the difference through: Review reachable public ports, bastion audit logs and administrative role boundaries.
C:The proposed measure serves a related cloud task, but the present symptom calls for a more specific response. A bastion provides a managed administrative ingress boundary without opening every host publicly. Check the difference through: Review reachable public ports, bastion audit logs and administrative role boundaries.
Question 477
The release owner has addressed this condition: administrators expose SSH and RDP directly to the internet for ease of managing private cloud servers. Which observation verifies the outcome?
- Administrators can connect through the approved path while direct public SSH/RDP connections fail.
- A password-only sign-in is blocked and approved administrators can use the required stronger factor.
- The app can read permitted calendar data while write/admin calls are rejected.
- The operator can restart the test VM but cannot change production resources or roles.
Explanation
Correct Answer
A:Administrators can connect through the approved path while direct public SSH/RDP connections fail. This proves the service behavior rather than just showing a changed configuration. A bastion provides a managed administrative ingress boundary without opening every host publicly.
Incorrect Answers
B:That approach would help when administrative cloud accounts authenticate with only a password and attackers have begun credential-spraying attempts. The required acceptance result is: Administrators can connect through the approved path while direct public SSH/RDP connections fail.
C:A bastion provides a managed administrative ingress boundary without opening every host publicly.
D:The operator can restart the test VM but cannot change production resources or roles. The relevant cloud response here is: Administrators can connect through the approved path while direct public SSH/RDP connections fail.
Question 478
During initial triage, administrators expose SSH and RDP directly to the internet for ease of managing private cloud servers. Which check best narrows down the cause?
- Inspect principal identities, log delivery, time synchronization and emergency-account usage.
- Review reachable public ports, bastion audit logs and administrative role boundaries.
- Review pipeline trust claims, secret history, assigned roles and token lifetime.
- Inspect consent grants, token scopes, audience and resource authorization.
Explanation
Correct Answer
B:Review reachable public ports, bastion audit logs and administrative role boundaries. This distinguishes the relevant dependency before changing cloud resources. A bastion provides a managed administrative ingress boundary without opening every host publicly.
Incorrect Answers
A:That approach would help when a cloud team uses one shared root account for maintenance and cannot attribute configuration changes to individuals. Review reachable public ports, bastion audit logs and administrative role boundaries.
C:Review pipeline trust claims, secret history, assigned roles and token lifetime. The relevant cloud response here is: Review reachable public ports, bastion audit logs and administrative role boundaries.
D:Inspect consent grants, token scopes, audience and resource authorization. The relevant cloud response here is: Review reachable public ports, bastion audit logs and administrative role boundaries.
Question 479
For the affected cloud environment, a mobile application requests full account administration just to read a user's calendar. Which remedy best fits the requirement?
- Restrict host access through a controlled bastion or private management path.
- Assign individual privileged identities and forward immutable signed-in administrative activity logs.
- Use narrow delegated OAuth scopes with consent and token audience validation.
- Assign a role with the specific operation at the smallest supported resource scope.
Explanation
Correct Answer
C:OAuth authorization scopes restrict a client application's permitted API actions but do not establish every user's business rights. The change should be verified, not just applied: The app can read permitted calendar data while write/admin calls are rejected.
Incorrect Answers
A:That approach would help when administrators expose SSH and RDP directly to the internet for ease of managing private cloud servers. In this case, oAuth authorization scopes restrict a client application's permitted API actions but do not establish every user's business rights.
B:Accountability requires identifiable principals and tamper-resistant audit evidence. The relevant cloud response here is: Use narrow delegated OAuth scopes with consent and token audience validation.
D:RBAC maps permissions to identities and scopes, so broad assignments create unnecessary escalation risk. The relevant cloud response here is: Use narrow delegated OAuth scopes with consent and token audience validation.
Question 480
The cloud engineer at a regional health provider investigates this condition: a mobile application requests full account administration just to read a user's calendar. Which explanation best accounts for it?
- RBAC maps permissions to identities and scopes, so broad assignments create unnecessary escalation risk.
- MFA raises the proof needed for sign-in but does not replace least-privilege authorization.
- Short-lived identity tokens reduce secret persistence but still require least-privilege resource roles.
- OAuth authorization scopes restrict a client application's permitted API actions but do not establish every user's business rights.
Explanation
Correct Answer
D:The evidence of success is: The app can read permitted calendar data while write/admin calls are rejected.
Incorrect Answers
A:That approach would help when a junior operator needs to restart one test VM but receives full subscription administrator privileges. Check the difference through: Inspect consent grants, token scopes, audience and resource authorization.
B:The alternative is aimed at a different condition: Administrative cloud accounts authenticate with only a password and attackers have begun credential-spraying attempts. OAuth authorization scopes restrict a client application's permitted API actions but do not establish every user's business rights.
C:The proposed measure serves a related cloud task, but the present symptom calls for a more specific response. OAuth authorization scopes restrict a client application's permitted API actions but do not establish every user's business rights. Check the difference through: Inspect consent grants, token scopes, audience and resource authorization.