100% Latest & Updated CompTIA CY0-001 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 240
A contractor's API key can call both public summarization and restricted incident-analysis models. Choose THREE steps that together address the failure, verify the correction, and reduce recurrence. (Choose THREE.)
- Use type checks, command allowlists, and separate user authorization before effects.
- Test denied and allowed calls using separate role identities and inspect the authorization decision.
- Validate model output against a strict schema and allowlisted commands before any downstream execution.
- Apply short-lived credentials and review endpoint privileges regularly.
- Inject malformed, extra-field, and untrusted-command test outputs and confirm safe rejection.
- Enforce identity-scoped permissions for each model endpoint and tenant.
Explanation
Correct Answers
B:Test denied and allowed calls using separate role identities and inspect the authorization decision. This test checks the actual failure path in this case rather than treating an unverified configuration change as proof.
D:Apply short-lived credentials and review endpoint privileges regularly. The safeguard addresses the recurring exposure behind model endpoint least privilege and complements correction of the immediate fault.
F:Enforce identity-scoped permissions for each model endpoint and tenant. The decision addresses the described failure because a shared inference gateway does not imply that every caller is entitled to every model.
Incorrect Answers
A:Use type checks, command allowlists, and separate user authorization before effects. That precaution addresses structured tool output validation, not the main model endpoint least privilege exposure needing prevention here.
C:Validate model output against a strict schema and allowlisted commands before any downstream execution.
E:Inject malformed, extra-field, and untrusted-command test outputs and confirm safe rejection.
Question 241
One customer's incident assistant can retrieve another tenant's indexed investigation reports by asking a semantically similar question. Which action best addresses this specific AI security concern?
- Limit accepted modalities and file types to assessed use cases and sanitize permitted inputs.
- Run a versioned adversarial regression suite with explicit pass and fail gates before promotion.
- Validate model output against a strict schema and allowlisted commands before any downstream execution.
- Propagate tenant and document ACL restrictions into retrieval before exposing chunks to the model.
Explanation
Correct Answer
D:Propagate tenant and document ACL restrictions into retrieval before exposing chunks to the model. The decision addresses the described failure because similarity score is not a substitute for access control on underlying documents.
Incorrect Answers
A:Limit accepted modalities and file types to assessed use cases and sanitize permitted inputs. That applies to multimodal upload restrictions, not tenant-aware vector retrieval authorization.
B:Run a versioned adversarial regression suite with explicit pass and fail gates before promotion. That applies to guardrail regression and jailbreak testing, not tenant-aware vector retrieval authorization.
C:Validate model output against a strict schema and allowlisted commands before any downstream execution. That applies to structured tool output validation, not tenant-aware vector retrieval authorization.
Question 242
One customer's incident assistant can retrieve another tenant's indexed investigation reports by asking a semantically similar question. Which test would most directly demonstrate that the recommended correction is effective?
- Inject malformed, extra-field, and untrusted-command test outputs and confirm safe rejection.
- Compare security failure rates between model versions using frozen attack prompts and safe expected outcomes.
- Probe with cross-tenant queries and confirm no unauthorized chunk is fetched or shown.
- Test forbidden file types and oversized media to ensure rejection occurs before parsing and inference.
Explanation
Correct Answer
C:Probe with cross-tenant queries and confirm no unauthorized chunk is fetched or shown. This test checks the actual failure path in this case rather than treating an unverified configuration change as proof.
Incorrect Answers
A:Inject malformed, extra-field, and untrusted-command test outputs and confirm safe rejection. That applies to structured tool output validation, not tenant-aware vector retrieval authorization.
B:Compare security failure rates between model versions using frozen attack prompts and safe expected outcomes. That applies to guardrail regression and jailbreak testing, not tenant-aware vector retrieval authorization.
D:Test forbidden file types and oversized media to ensure rejection occurs before parsing and inference. That applies to multimodal upload restrictions, not tenant-aware vector retrieval authorization.
Question 243
One customer's incident assistant can retrieve another tenant's indexed investigation reports by asking a semantically similar question. What is the most likely underlying reason for the security concern?
- Extra input modalities expand the attack surface and data-processing obligations.
- 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.
- Free-form model output is not a trustworthy executable instruction or validated authorization record.
Explanation
Correct Answer
B:Similarity score is not a substitute for access control on underlying documents.
Incorrect Answers
A:Extra input modalities expand the attack surface and data-processing obligations. This mechanism is associated with multimodal upload restrictions, whereas the case evidence most directly concerns tenant-aware vector retrieval authorization.
C:Model and prompt updates can change safety behavior even when normal task accuracy improves. This mechanism is associated with guardrail regression and jailbreak testing, whereas the case evidence most directly concerns tenant-aware vector retrieval authorization.
D:Free-form model output is not a trustworthy executable instruction or validated authorization record. This mechanism is associated with structured tool output validation, whereas the case evidence most directly concerns tenant-aware vector retrieval authorization.
Question 244
One customer's incident assistant can retrieve another tenant's indexed investigation reports by asking a semantically similar question. Which longer-term precaution most appropriately complements the corrective action?
- Block release on material regressions and document approved residual risk.
- Review content types, sandbox converters, and monitor rejected uploads.
- Enforce document-level authorization at retrieval and purge indexes after access revocation.
- Use type checks, command allowlists, and separate user authorization before effects.
Explanation
Correct Answer
C:Enforce document-level authorization at retrieval and purge indexes after access revocation.
Incorrect Answers
A:Block release on material regressions and document approved residual risk. That precaution addresses guardrail regression and jailbreak testing, not the main tenant-aware vector retrieval authorization exposure needing prevention here.
B:Review content types, sandbox converters, and monitor rejected uploads. That precaution addresses multimodal upload restrictions, not the main tenant-aware vector retrieval authorization exposure needing prevention here.
D:Use type checks, command allowlists, and separate user authorization before effects. That precaution addresses structured tool output validation, not the main tenant-aware vector retrieval authorization exposure needing prevention here.
Question 245
A RAG service filters by topic but ignores source document entitlements when constructing retrieval results. What is the most effective immediate approach for the stated problem?
- Validate model output against a strict schema and allowlisted commands before any downstream execution.
- Limit accepted modalities and file types to assessed use cases and sanitize permitted inputs.
- Run a versioned adversarial regression suite with explicit pass and fail gates before promotion.
- Propagate tenant and document ACL restrictions into retrieval before exposing chunks to the model.
Explanation
Correct Answer
D:Propagate tenant and document ACL restrictions into retrieval before exposing chunks to the model. The decision addresses the described failure because similarity score is not a substitute for access control on underlying documents.
Incorrect Answers
A:Validate model output against a strict schema and allowlisted commands before any downstream execution. That applies to structured tool output validation, not tenant-aware vector retrieval authorization.
B:Limit accepted modalities and file types to assessed use cases and sanitize permitted inputs. That applies to multimodal upload restrictions, not tenant-aware vector retrieval authorization.
C:Run a versioned adversarial regression suite with explicit pass and fail gates before promotion. That applies to guardrail regression and jailbreak testing, not tenant-aware vector retrieval authorization.
Question 246
A RAG service filters by topic but ignores source document entitlements when constructing retrieval results. 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.
- Test forbidden file types and oversized media to ensure rejection occurs before parsing and inference.
- Compare security failure rates between model versions using frozen attack prompts and safe expected outcomes.
- Inject malformed, extra-field, and untrusted-command test outputs and confirm safe rejection.
Explanation
Correct Answer
A:Probe with cross-tenant queries and confirm no unauthorized chunk is fetched or shown. This test checks the actual failure path in this case rather than treating an unverified configuration change as proof.
Incorrect Answers
B:Test forbidden file types and oversized media to ensure rejection occurs before parsing and inference. That applies to multimodal upload restrictions, not tenant-aware vector retrieval authorization.
C:Compare security failure rates between model versions using frozen attack prompts and safe expected outcomes. That applies to guardrail regression and jailbreak testing, not tenant-aware vector retrieval authorization.
D:Inject malformed, extra-field, and untrusted-command test outputs and confirm safe rejection. That applies to structured tool output validation, not tenant-aware vector retrieval authorization.
Question 247
A RAG service filters by topic but ignores source document entitlements when constructing retrieval results. Which mechanism most directly explains the weakness illustrated by these events?
- Model and prompt updates can change safety behavior even when normal task accuracy improves.
- Similarity score is not a substitute for access control on underlying documents.
- Extra input modalities expand the attack surface and data-processing obligations.
- Free-form model output is not a trustworthy executable instruction or validated authorization record.
Explanation
Correct Answer
B:Similarity score is not a substitute for access control on underlying documents.
Incorrect Answers
A:Model and prompt updates can change safety behavior even when normal task accuracy improves. This mechanism is associated with guardrail regression and jailbreak testing, whereas the case evidence most directly concerns tenant-aware vector retrieval authorization.
C:Extra input modalities expand the attack surface and data-processing obligations. This mechanism is associated with multimodal upload restrictions, whereas the case evidence most directly concerns tenant-aware vector retrieval authorization.
D:Free-form model output is not a trustworthy executable instruction or validated authorization record. This mechanism is associated with structured tool output validation, whereas the case evidence most directly concerns tenant-aware vector retrieval authorization.
Question 248
A RAG service filters by topic but ignores source document entitlements when constructing retrieval results. What ongoing preventive control would best limit recurrence?
- Enforce document-level authorization at retrieval and purge indexes after access revocation.
- Block release on material regressions and document approved residual risk.
- Review content types, sandbox converters, and monitor rejected uploads.
- Use type checks, command allowlists, and separate user authorization before effects.
Explanation
Correct Answer
A:Enforce document-level authorization at retrieval and purge indexes after access revocation.
Incorrect Answers
B:Block release on material regressions and document approved residual risk. That precaution addresses guardrail regression and jailbreak testing, not the main tenant-aware vector retrieval authorization exposure needing prevention here.
C:Review content types, sandbox converters, and monitor rejected uploads. That precaution addresses multimodal upload restrictions, not the main tenant-aware vector retrieval authorization exposure needing prevention here.
D:Use type checks, command allowlists, and separate user authorization before effects. That precaution addresses structured tool output validation, not the main tenant-aware vector retrieval authorization exposure needing prevention here.
Question 249
A calendar-summary agent has delete permissions even though it only needs to read meeting entries. What is the most effective immediate approach for the stated problem?
- Validate model output against a strict schema and allowlisted commands before any downstream execution.
- Run a versioned adversarial regression suite with explicit pass and fail gates before promotion.
- Require authenticated TLS for sensitive model API traffic, including internal service boundaries.
- Provide each agent only the scoped tool permissions needed for its authorized task.
Explanation
Correct Answer
D:Provide each agent only the scoped tool permissions needed for its authorized task. The decision addresses the described failure because overprivileged agents magnify the impact of prompt injection or erroneous plans.
Incorrect Answers
A:Validate model output against a strict schema and allowlisted commands before any downstream execution. That applies to structured tool output validation, not agent tool least privilege.
B:Run a versioned adversarial regression suite with explicit pass and fail gates before promotion. That applies to guardrail regression and jailbreak testing, not agent tool least privilege.
C:Require authenticated TLS for sensitive model API traffic, including internal service boundaries. That applies to tls protection for model inference transit, not agent tool least privilege.
Question 250
A calendar-summary agent has delete permissions even though it only needs to read meeting entries. 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.
- Compare security failure rates between model versions using frozen attack prompts and safe expected outcomes.
- Inject malformed, extra-field, and untrusted-command test outputs and confirm safe rejection.
- Inspect negotiated TLS and certificate validation; reject plaintext and untrusted endpoints.
Explanation
Correct Answer
A:Attempt unauthorized tool calls and verify that application and service permissions deny them. This test checks the actual failure path in this case rather than treating an unverified configuration change as proof.
Incorrect Answers
B:Compare security failure rates between model versions using frozen attack prompts and safe expected outcomes. That applies to guardrail regression and jailbreak testing, not agent tool least privilege.
C:Inject malformed, extra-field, and untrusted-command test outputs and confirm safe rejection. That applies to structured tool output validation, not agent tool least privilege.
D:Inspect negotiated TLS and certificate validation; reject plaintext and untrusted endpoints. That applies to tls protection for model inference transit, not agent tool least privilege.
CompTIA SecAI+ (CY0-001) Practice Tests