100% Latest & Updated CompTIA CY0-001 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 220
A new model version passes ordinary FAQ tests but returns prohibited outputs under indirect instruction prompts. Choose TWO steps that directly implement the appropriate correction and verify it. (Choose TWO.)
- Probe with cross-tenant queries and confirm no unauthorized chunk is fetched or shown.
- Run a versioned adversarial regression suite with explicit pass and fail gates before promotion.
- Enforce identity-scoped permissions for each model endpoint and tenant.
- Compare security failure rates between model versions using frozen attack prompts and safe expected outcomes.
- Test denied and allowed calls using separate role identities and inspect the authorization decision.
Explanation
Correct Answers
B:Run a versioned adversarial regression suite with explicit pass and fail gates before promotion. The decision addresses the described failure because model and prompt updates can change safety behavior even when normal task accuracy improves.
D:Compare security failure rates between model versions using frozen attack prompts and safe expected outcomes.
Incorrect Answers
A:Probe with cross-tenant queries and confirm no unauthorized chunk is fetched or shown.
C:Enforce identity-scoped permissions for each model endpoint and tenant.
E:Test denied and allowed calls using separate role identities and inspect the authorization decision.
Question 221
A release changes system messages and breaks a previously effective sensitive-data guardrail. What is the most effective immediate approach for the stated problem?
- Propagate tenant and document ACL restrictions into retrieval before exposing chunks to the model.
- Provide each agent only the scoped tool permissions needed for its authorized task.
- Run a versioned adversarial regression suite with explicit pass and fail gates before promotion.
- Enforce identity-scoped permissions for each model endpoint and tenant.
Explanation
Correct Answer
C:Run a versioned adversarial regression suite with explicit pass and fail gates before promotion. The decision addresses the described failure because model and prompt updates can change safety behavior even when normal task accuracy improves.
Incorrect Answers
A:Propagate tenant and document ACL restrictions into retrieval before exposing chunks to the model. That applies to tenant-aware vector retrieval authorization, not guardrail regression and jailbreak testing.
B:Provide each agent only the scoped tool permissions needed for its authorized task. That applies to agent tool least privilege, not guardrail regression and jailbreak testing.
D:Enforce identity-scoped permissions for each model endpoint and tenant.
Question 222
A release changes system messages and breaks a previously effective sensitive-data guardrail. Which check would give the strongest confirmation that this failure has been addressed?
- Probe with cross-tenant queries and confirm no unauthorized chunk is fetched or shown.
- Compare security failure rates between model versions using frozen attack prompts and safe expected outcomes.
- Test denied and allowed calls using separate role identities and inspect the authorization decision.
- Attempt unauthorized tool calls and verify that application and service permissions deny them.
Explanation
Correct Answer
B:Compare security failure rates between model versions using frozen attack prompts and safe expected outcomes.
Incorrect Answers
A:Probe with cross-tenant queries and confirm no unauthorized chunk is fetched or shown.
C:Test denied and allowed calls using separate role identities and inspect the authorization decision.
D:Attempt unauthorized tool calls and verify that application and service permissions deny them. That applies to agent tool least privilege, not guardrail regression and jailbreak testing.
Question 223
A release changes system messages and breaks a previously effective sensitive-data guardrail. Which mechanism most directly explains the weakness illustrated by these events?
- Overprivileged agents magnify the impact of prompt injection or erroneous plans.
- A shared inference gateway does not imply that every caller is entitled to every model.
- Similarity score is not a substitute for access control on underlying documents.
- Model and prompt updates can change safety behavior even when normal task accuracy improves.
Explanation
Correct Answer
D:Model and prompt updates can change safety behavior even when normal task accuracy improves.
Incorrect Answers
A:Overprivileged agents magnify the impact of prompt injection or erroneous plans. This mechanism is associated with agent tool least privilege, whereas the case evidence most directly concerns guardrail regression and jailbreak testing.
B:A shared inference gateway does not imply that every caller is entitled to every model. This mechanism is associated with model endpoint least privilege, whereas the case evidence most directly concerns guardrail regression and jailbreak testing.
C:Similarity score is not a substitute for access control on underlying documents. This mechanism is associated with tenant-aware vector retrieval authorization, whereas the case evidence most directly concerns guardrail regression and jailbreak testing.
Question 224
A release changes system messages and breaks a previously effective sensitive-data guardrail. What ongoing preventive control would best limit recurrence?
- Separate read and write capabilities and require independent approval for irreversible actions.
- Block release on material regressions and document approved residual risk.
- Apply short-lived credentials and review endpoint privileges regularly.
- Enforce document-level authorization at retrieval and purge indexes after access revocation.
Explanation
Correct Answer
B:Block release on material regressions and document approved residual risk.
Incorrect Answers
A:Separate read and write capabilities and require independent approval for irreversible actions. That precaution addresses agent tool least privilege, not the main guardrail regression and jailbreak testing exposure needing prevention here.
C:Apply short-lived credentials and review endpoint privileges regularly. That precaution addresses model endpoint least privilege, not the main guardrail regression and jailbreak testing exposure needing prevention here.
D:Enforce document-level authorization at retrieval and purge indexes after access revocation. That precaution addresses tenant-aware vector retrieval authorization, not the main guardrail regression and jailbreak testing exposure needing prevention here.
Question 225
A generative assistant sends its raw output as a shell command to a deployment runner without schema validation. What is the most effective immediate approach for the stated problem?
- Propagate tenant and document ACL restrictions into retrieval before exposing chunks to the model.
- Enforce identity-scoped permissions for each model endpoint and tenant.
- Validate model output against a strict schema and allowlisted commands before any downstream execution.
- Provide each agent only the scoped tool permissions needed for its authorized task.
Explanation
Correct Answer
C:Validate model output against a strict schema and allowlisted commands before any downstream execution. The decision addresses the described failure because free-form model output is not a trustworthy executable instruction or validated authorization record.
Incorrect Answers
A:Propagate tenant and document ACL restrictions into retrieval before exposing chunks to the model. That applies to tenant-aware vector retrieval authorization, not structured tool output validation.
B:Enforce identity-scoped permissions for each model endpoint and tenant. That applies to model endpoint least privilege, not structured tool output validation.
D:Provide each agent only the scoped tool permissions needed for its authorized task. That applies to agent tool least privilege, not structured tool output validation.
Question 226
A generative assistant sends its raw output as a shell command to a deployment runner without schema validation. Which check would give the strongest confirmation that this failure has been addressed?
- Attempt unauthorized tool calls and verify that application and service permissions deny them.
- Test denied and allowed calls using separate role identities and inspect the authorization decision.
- Inject malformed, extra-field, and untrusted-command test outputs and confirm safe rejection.
- Probe with cross-tenant queries and confirm no unauthorized chunk is fetched or shown.
Explanation
Correct Answer
C:Inject malformed, extra-field, and untrusted-command test outputs and confirm safe rejection. This test checks the actual failure path in this case rather than treating an unverified configuration change as proof.
Incorrect Answers
A:Attempt unauthorized tool calls and verify that application and service permissions deny them. That applies to agent tool least privilege, not structured tool output validation.
B:Test denied and allowed calls using separate role identities and inspect the authorization decision. That applies to model endpoint least privilege, not structured tool output validation.
D:Probe with cross-tenant queries and confirm no unauthorized chunk is fetched or shown. That applies to tenant-aware vector retrieval authorization, not structured tool output validation.
Question 227
A generative assistant sends its raw output as a shell command to a deployment runner without schema validation. Which mechanism most directly explains the weakness illustrated by these events?
- Overprivileged agents magnify the impact of prompt injection or erroneous plans.
- Similarity score is not a substitute for access control on underlying documents.
- Free-form model output is not a trustworthy executable instruction or validated authorization record.
- A shared inference gateway does not imply that every caller is entitled to every model.
Explanation
Correct Answer
C:Free-form model output is not a trustworthy executable instruction or validated authorization record.
Incorrect Answers
A:Overprivileged agents magnify the impact of prompt injection or erroneous plans. This mechanism is associated with agent tool least privilege, whereas the case evidence most directly concerns structured tool output validation.
B:Similarity score is not a substitute for access control on underlying documents. This mechanism is associated with tenant-aware vector retrieval authorization, whereas the case evidence most directly concerns structured tool output validation.
D:A shared inference gateway does not imply that every caller is entitled to every model. This mechanism is associated with model endpoint least privilege, whereas the case evidence most directly concerns structured tool output validation.
Question 228
A generative assistant sends its raw output as a shell command to a deployment runner without schema validation. What ongoing preventive control would best limit recurrence?
- Apply short-lived credentials and review endpoint privileges regularly.
- Use type checks, command allowlists, and separate user authorization before effects.
- Separate read and write capabilities and require independent approval for irreversible actions.
- Enforce document-level authorization at retrieval and purge indexes after access revocation.
Explanation
Correct Answer
B:Use type checks, command allowlists, and separate user authorization before effects.
Incorrect Answers
A:Apply short-lived credentials and review endpoint privileges regularly. That precaution addresses model endpoint least privilege, not the main structured tool output validation exposure needing prevention here.
C:Separate read and write capabilities and require independent approval for irreversible actions. That precaution addresses agent tool least privilege, not the main structured tool output validation exposure needing prevention here.
D:Enforce document-level authorization at retrieval and purge indexes after access revocation. That precaution addresses tenant-aware vector retrieval authorization, not the main structured tool output validation exposure needing prevention here.
Question 229
An AI system writes a malformed JSON ticket with an unexpected approval flag that a downstream service trusts. Which corrective action should the security team prioritize?
- Propagate tenant and document ACL restrictions into retrieval before exposing chunks to the model.
- Validate model output against a strict schema and allowlisted commands before any downstream execution.
- Enforce identity-scoped permissions for each model endpoint and tenant.
- Provide each agent only the scoped tool permissions needed for its authorized task.
Explanation
Correct Answer
B:Validate model output against a strict schema and allowlisted commands before any downstream execution. The decision addresses the described failure because free-form model output is not a trustworthy executable instruction or validated authorization record.
Incorrect Answers
A:Propagate tenant and document ACL restrictions into retrieval before exposing chunks to the model. That applies to tenant-aware vector retrieval authorization, not structured tool output validation.
C:Enforce identity-scoped permissions for each model endpoint and tenant. That applies to model endpoint least privilege, not structured tool output validation.
D:Provide each agent only the scoped tool permissions needed for its authorized task. That applies to agent tool least privilege, not structured tool output validation.
Question 230
An AI system writes a malformed JSON ticket with an unexpected approval flag that a downstream service trusts. What evidence would best validate the proposed security response?
- Probe with cross-tenant queries and confirm no unauthorized chunk is fetched or shown.
- Inject malformed, extra-field, and untrusted-command test outputs and confirm safe rejection.
- Test denied and allowed calls using separate role identities and inspect the authorization decision.
- Attempt unauthorized tool calls and verify that application and service permissions deny them.
Explanation
Correct Answer
B:Inject malformed, extra-field, and untrusted-command test outputs and confirm safe rejection. This test checks the actual failure path in this case rather than treating an unverified configuration change as proof.
Incorrect Answers
A:Probe with cross-tenant queries and confirm no unauthorized chunk is fetched or shown. That applies to tenant-aware vector retrieval authorization, not structured tool output validation.
C:Test denied and allowed calls using separate role identities and inspect the authorization decision. That applies to model endpoint least privilege, not structured tool output validation.
D:Attempt unauthorized tool calls and verify that application and service permissions deny them. That applies to agent tool least privilege, not structured tool output validation.
CompTIA SecAI+ (CY0-001) Practice Tests