McAfee Secured

Exam Code: CY0-001

Exam Name: CompTIA SecAI+

Certification Provider: CompTIA

Corresponding Certification: CompTIA SecAI+

100% CompTIA CY0-001 Guaranteed Success With Testking Training Materials

Get Real CY0-001 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

169 Questions & Answers with Testing Engine

"CompTIA SecAI+ Exam", also known as CY0-001 exam, is a CompTIA certification exam.

Pass your tests with the always up-to-date CY0-001 Exam Engine. Your CY0-001 training materials keep you at the head of the pack!

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Was: $137.49
Now: $124.99

CompTIA CY0-001 Practice Test 29

Question 280

A third-party AI connector uses an API key embedded in the system prompt for database access. Which test best verifies the intended result in this case?

  1. Use a development identity to request production data and verify hard denial.
  2. Try a delete call from the draft-only agent and verify an authorization denial before model execution.
  3. Attempt cross-tenant query terms and confirm the search API returns no unauthorized passages.
  4. Prompt for the credential and inspect traces to confirm the model never received its value.

Explanation

Correct Answer

D:

Prompt for the credential and inspect traces to confirm the model never received its value. Prompt text can leak through logs or malicious instructions, exposing credentials embedded in it.

Other Answers

A:

“Use a development identity to request production data and verify hard denial” does not establish the required result because prompt text can leak through logs or malicious instructions, exposing credentials embedded in it.

B:

“Try a delete call from the draft-only agent and verify an authorization denial before model execution” does not establish the required result because prompt text can leak through logs or malicious instructions, exposing credentials embedded in it.

C:

“Attempt cross-tenant query terms and confirm the search API returns no unauthorized passages” does not establish the required result because prompt text can leak through logs or malicious instructions, exposing credentials embedded in it.

Question 281

A third-party AI connector uses an API key embedded in the system prompt for database access. Which ongoing safeguard best prevents this problem or keeps the requirement satisfied?

  1. Prohibit secrets in prompts, client code and model-visible tool outputs.
  2. Separate tool identities by impact, with approval gates for write or delete actions.
  3. Scope retrieval credentials and resources to tenant entitlements.
  4. Enforce environment isolation and short-lived credentials through deployment policy.

Explanation

Correct Answer

A:

Prompt text can leak through logs or malicious instructions, exposing credentials embedded in it. Verification: Prompt for the credential and inspect traces to confirm the model never received its value.

Other Answers

B:

“Separate tool identities by impact, with approval gates for write or delete actions” does not adequately prevent recurrence because prompt text can leak through logs or malicious instructions, exposing credentials embedded in it.

C:

“Scope retrieval credentials and resources to tenant entitlements” does not adequately prevent recurrence because prompt text can leak through logs or malicious instructions, exposing credentials embedded in it.

D:

“Enforce environment isolation and short-lived credentials through deployment policy” does not adequately prevent recurrence because prompt text can leak through logs or malicious instructions, exposing credentials embedded in it.

Question 282

A data analyst can invoke a model that summarizes privileged HR reports despite having no access to the source files. Which response most directly addresses the stated need or control weakness?

  1. Bind search requests to the caller's tenant and enforce namespace filters server-side.
  2. Enforce source-data row/document authorization before retrieval or context assembly.
  3. Restrict model publishing to authorized maintainers and separate read, deploy and replace privileges.
  4. Validate token issuer, audience, expiry and required scopes before model access.

Explanation

Correct Answer

B:

Model invocation permission does not grant a right to underlying confidential documents. Verification: Use an unprivileged account and verify protected passages never reach the model context.

Other Answers

A:

“Bind search requests to the caller's tenant and enforce namespace filters server-side” would not correct the underlying issue because model invocation permission does not grant a right to underlying confidential documents.

C:

“Restrict model publishing to authorized maintainers and separate read, deploy and replace privileges” would not correct the underlying issue because model invocation permission does not grant a right to underlying confidential documents.

D:

“Validate token issuer, audience, expiry and required scopes before model access” would not correct the underlying issue because model invocation permission does not grant a right to underlying confidential documents.

Question 283

A data analyst can invoke a model that summarizes privileged HR reports despite having no access to the source files. Which underlying principle best explains the situation?

  1. Broad artifact-write rights permit unauthorized model replacement and supply-chain compromise.
  2. A token valid for one service may be inappropriately accepted by another service without audience checks.
  3. Model invocation permission does not grant a right to underlying confidential documents.
  4. Prompt-level privacy requests do not enforce isolation when retrieval credentials are overbroad.

Explanation

Correct Answer

C:

Model invocation permission does not grant a right to underlying confidential documents. The corresponding corrective action is Enforce source-data row/document authorization before retrieval or context assembly.

Other Answers

A:

“Broad artifact-write rights permit unauthorized model replacement and supply-chain compromise” does not explain what happened because model invocation permission does not grant a right to underlying confidential documents.

B:

“A token valid for one service may be inappropriately accepted by another service without audience checks” does not explain what happened because model invocation permission does not grant a right to underlying confidential documents.

D:

“Prompt-level privacy requests do not enforce isolation when retrieval credentials are overbroad” does not explain what happened because model invocation permission does not grant a right to underlying confidential documents.

Question 284

A data analyst can invoke a model that summarizes privileged HR reports despite having no access to the source files. Which test best verifies the intended result in this case?

  1. Send an authentic token minted for another audience and verify explicit access denial.
  2. Attempt cross-tenant query terms and confirm the search API returns no unauthorized passages.
  3. Try a model overwrite as a read-only analyst and verify denial with immutable audit trail.
  4. Use an unprivileged account and verify protected passages never reach the model context.

Explanation

Correct Answer

D:

Use an unprivileged account and verify protected passages never reach the model context. Model invocation permission does not grant a right to underlying confidential documents.

Other Answers

A:

“Send an authentic token minted for another audience and verify explicit access denial” does not establish the required result because model invocation permission does not grant a right to underlying confidential documents.

B:

“Attempt cross-tenant query terms and confirm the search API returns no unauthorized passages” does not establish the required result because model invocation permission does not grant a right to underlying confidential documents.

C:

“Try a model overwrite as a read-only analyst and verify denial with immutable audit trail” does not establish the required result because model invocation permission does not grant a right to underlying confidential documents.

Question 285

A data analyst can invoke a model that summarizes privileged HR reports despite having no access to the source files. Which ongoing safeguard best prevents this problem or keeps the requirement satisfied?

  1. Align data access policy to caller identity in every RAG and agent pipeline.
  2. Scope retrieval credentials and resources to tenant entitlements.
  3. Use least-privilege RBAC and signed release approvals on model registries.
  4. Define strict token validation profiles for every AI API endpoint.

Explanation

Correct Answer

A:

Model invocation permission does not grant a right to underlying confidential documents. Verification: Use an unprivileged account and verify protected passages never reach the model context.

Other Answers

B:

“Scope retrieval credentials and resources to tenant entitlements” does not adequately prevent recurrence because model invocation permission does not grant a right to underlying confidential documents.

C:

“Use least-privilege RBAC and signed release approvals on model registries” does not adequately prevent recurrence because model invocation permission does not grant a right to underlying confidential documents.

D:

“Define strict token validation profiles for every AI API endpoint” does not adequately prevent recurrence because model invocation permission does not grant a right to underlying confidential documents.

Question 286

An agent calls a ticket-closing API based only on a generated confidence score and closes active incidents without human approval. Which response most directly addresses the stated need or control weakness?

  1. Enforce source-data row/document authorization before retrieval or context assembly.
  2. Require a user-authorized closure scope and approval for consequential ticket transitions.
  3. Restrict model publishing to authorized maintainers and separate read, deploy and replace privileges.
  4. Replace broad cloud credentials with task-limited tool identities and explicit approval for destructive changes.

Explanation

Correct Answer

B:

Model output is not an authorization grant for externally visible state changes. Verification: Try closing an unresolved high-impact incident and verify denial pending recorded approval.

Other Answers

A:

“Enforce source-data row/document authorization before retrieval or context assembly” would not correct the underlying issue because model output is not an authorization grant for externally visible state changes.

C:

“Restrict model publishing to authorized maintainers and separate read, deploy and replace privileges” would not correct the underlying issue because model output is not an authorization grant for externally visible state changes.

D:

“Replace broad cloud credentials with task-limited tool identities and explicit approval for destructive changes” would not correct the underlying issue because model output is not an authorization grant for externally visible state changes.

Question 287

An agent calls a ticket-closing API based only on a generated confidence score and closes active incidents without human approval. Which underlying principle best explains the situation?

  1. Broad artifact-write rights permit unauthorized model replacement and supply-chain compromise.
  2. Excessive standing permissions enable side effects unrelated to the agent's approved purpose.
  3. Model output is not an authorization grant for externally visible state changes.
  4. Model invocation permission does not grant a right to underlying confidential documents.

Explanation

Correct Answer

C:

Model output is not an authorization grant for externally visible state changes. The corresponding corrective action is Require a user-authorized closure scope and approval for consequential ticket transitions.

Other Answers

A:

“Broad artifact-write rights permit unauthorized model replacement and supply-chain compromise” does not explain what happened because model output is not an authorization grant for externally visible state changes.

B:

“Excessive standing permissions enable side effects unrelated to the agent's approved purpose” does not explain what happened because model output is not an authorization grant for externally visible state changes.

D:

“Model invocation permission does not grant a right to underlying confidential documents” does not explain what happened because model output is not an authorization grant for externally visible state changes.

Question 288

An agent calls a ticket-closing API based only on a generated confidence score and closes active incidents without human approval. Which test best verifies the intended result in this case?

  1. Try a delete call from the draft-only agent and verify an authorization denial before model execution.
  2. Use an unprivileged account and verify protected passages never reach the model context.
  3. Try a model overwrite as a read-only analyst and verify denial with immutable audit trail.
  4. Try closing an unresolved high-impact incident and verify denial pending recorded approval.

Explanation

Correct Answer

D:

Try closing an unresolved high-impact incident and verify denial pending recorded approval. Model output is not an authorization grant for externally visible state changes.

Other Answers

A:

“Try a delete call from the draft-only agent and verify an authorization denial before model execution” does not establish the required result because model output is not an authorization grant for externally visible state changes.

B:

“Use an unprivileged account and verify protected passages never reach the model context” does not establish the required result because model output is not an authorization grant for externally visible state changes.

C:

“Try a model overwrite as a read-only analyst and verify denial with immutable audit trail” does not establish the required result because model output is not an authorization grant for externally visible state changes.

Question 289

An agent calls a ticket-closing API based only on a generated confidence score and closes active incidents without human approval. Which ongoing safeguard best prevents this problem or keeps the requirement satisfied?

  1. Separate read-only triage from privileged incident-state transitions.
  2. Align data access policy to caller identity in every RAG and agent pipeline.
  3. Use least-privilege RBAC and signed release approvals on model registries.
  4. Separate tool identities by impact, with approval gates for write or delete actions.

Explanation

Correct Answer

A:

Model output is not an authorization grant for externally visible state changes. Verification: Try closing an unresolved high-impact incident and verify denial pending recorded approval.

Other Answers

B:

“Align data access policy to caller identity in every RAG and agent pipeline” does not adequately prevent recurrence because model output is not an authorization grant for externally visible state changes.

C:

“Use least-privilege RBAC and signed release approvals on model registries” does not adequately prevent recurrence because model output is not an authorization grant for externally visible state changes.

D:

“Separate tool identities by impact, with approval gates for write or delete actions” does not adequately prevent recurrence because model output is not an authorization grant for externally visible state changes.

Question 290

A public prediction API accepts any valid JWT but does not verify its intended audience or required permission scope. Which response most directly addresses the stated need or control weakness?

  1. Assign distinct workload identities and minimum privileges to each agent with attributable logs.
  2. Validate token issuer, audience, expiry and required scopes before model access.
  3. Restrict the vendor integration to minimum required fields and contractual processing scope.
  4. Enforce source-data row/document authorization before retrieval or context assembly.

Explanation

Correct Answer

B:

A token valid for one service may be inappropriately accepted by another service without audience checks. Verification: Send an authentic token minted for another audience and verify explicit access denial.

Other Answers

A:

“Assign distinct workload identities and minimum privileges to each agent with attributable logs” would not correct the underlying issue because a token valid for one service may be inappropriately accepted by another service without audience checks.

C:

“Restrict the vendor integration to minimum required fields and contractual processing scope” would not correct the underlying issue because a token valid for one service may be inappropriately accepted by another service without audience checks.

D:

“Enforce source-data row/document authorization before retrieval or context assembly” would not correct the underlying issue because a token valid for one service may be inappropriately accepted by another service without audience checks.

CompTIA SecAI+ (CY0-001) Practice Tests