Advanced in AI Security Management AAISM Practice Test 42
Question 410
Before approving the next AI program milestone, reviewers identify the following problem: An API exposes raw model completions that can be exploited for extraction at scale. What should the accountable team prioritize?
- Authenticate ingestion sources and review unexpected changes to indexed content.
- Apply authentication, response limits, anomaly detection, and anti-scraping controls.
- Enforce trust boundaries and source validation before using retrieved assertions for privileged choices.
- Assess membership-inference exposure and apply suitable privacy-preserving controls.
Explanation
Correct Answer
B:Model extraction relies on repeated unauthorized or excessive inference access. The control belongs at the decision point where the risk arises in this case.
Incorrect Answers
A:Poisoned knowledge stores can steer otherwise legitimate model responses. This is useful when a retrieval corpus contains attacker-inserted fake policy documents.
C:Retrieved content cannot be assumed to have instruction authority. This is useful when a helpdesk assistant makes security decisions based on retrieved text that could include hostile markup.
D:Model outputs may reveal characteristics of sensitive training data. This is useful when an attacker repeatedly queries a trained model to infer whether a person was in its training set.
Question 411
An AI risk assurance exercise documents this operational gap: An API exposes raw model completions that can be exploited for extraction at scale. Which recommendation best resolves the stated issue?
- Treat retrieved content as untrusted data and prevent it from overriding trusted system instructions.
- Patch or isolate the affected dependency based on exploitability and impact.
- Apply authentication, response limits, anomaly detection, and anti-scraping controls.
- Constrain database access, use approved query templates, and validate generated statements.
Explanation
Correct Answer
C:Model extraction relies on repeated unauthorized or excessive inference access. It provides the stated risk reduction with a clear owner and a checkable outcome.
Incorrect Answers
A:Indirect prompt injection exploits lower-trust material crossing an instruction boundary. This is useful when an attacker places malicious instructions in a retrieved article that an internal assistant is summarizing.
B:Vulnerable integration libraries can undermine an otherwise well-configured model. This is useful when an AI service's security review finds vulnerable retrieval packages that are already deployed.
D:Untrusted generated queries need deterministic guardrails before reaching databases. This is useful when an application relies on a language model to generate SQL queries executed without validation.
Question 412
In an enterprise AI security review, the team records this condition: An AI service logs contain confidential prompts accessible to unrelated engineering teams. Which control or management decision most directly addresses the concern?
- Bind tool permissions to authenticated user context and reauthorize each sensitive operation.
- Restrict log access and redact sensitive prompt content before storage.
- Apply authentication, response limits, anomaly detection, and anti-scraping controls.
- Constrain database access, use approved query templates, and validate generated statements.
Explanation
Correct Answer
B:Operational logging can itself become a leakage surface.
Incorrect Answers
A:Tool execution needs independent identity-scoped authorization. This is useful when an AI agent's tool schema permits changing any customer account without checking the requesting identity.
C:Model extraction relies on repeated unauthorized or excessive inference access. This is useful when an API exposes raw model completions that can be exploited for extraction at scale.
D:Untrusted generated queries need deterministic guardrails before reaching databases. This is useful when an application relies on a language model to generate SQL queries executed without validation.
Question 413
Before approving the next AI program milestone, reviewers identify the following problem: An AI service logs contain confidential prompts accessible to unrelated engineering teams. What should the accountable team prioritize?
- Protect model registry changes with authorization and artifact-integrity checks.
- Treat retrieved content as untrusted data and prevent it from overriding trusted system instructions.
- Restrict log access and redact sensitive prompt content before storage.
- Constrain page-derived instructions to low-trust context and inspect tool invocations.
Explanation
Correct Answer
C:Operational logging can itself become a leakage surface. The control belongs at the decision point where the risk arises in this case.
Incorrect Answers
A:Registry tampering can silently replace a deployed model with an unapproved version. This is useful when an attacker modifies a model registry pointer so production loads an old vulnerable checkpoint.
B:Indirect prompt injection exploits lower-trust material crossing an instruction boundary. This is useful when an attacker places malicious instructions in a retrieved article that an internal assistant is summarizing.
D:External pages can carry hidden instructions that attempt to redirect the assistant. This is useful when an organization is deploying a browser-connected assistant that reads arbitrary public pages.
Question 414
An AI risk assurance exercise documents this operational gap: An AI service logs contain confidential prompts accessible to unrelated engineering teams. Which recommendation best resolves the stated issue?
- Evaluate extraction risks and apply output protections, monitoring, and access controls.
- Sanitize and validate generated markup before rendering in a trusted browser context.
- Patch or isolate the affected dependency based on exploitability and impact.
- Restrict log access and redact sensitive prompt content before storage.
Explanation
Correct Answer
D:Operational logging can itself become a leakage surface. It provides the stated risk reduction with a clear owner and a checkable outcome.
Incorrect Answers
A:Model memorization can cause unintended disclosure of protected data. This is useful when an attacker seeks to reconstruct proprietary training records through repeated model prompts.
B:Untrusted output handling can enable client-side injection even when the model is not compromised. This is useful when an assistant generates HTML that is rendered directly into a privileged internal page.
C:Vulnerable integration libraries can undermine an otherwise well-configured model. This is useful when an AI service's security review finds vulnerable retrieval packages that are already deployed.
Question 415
In an enterprise AI security review, the team records this condition: An attacker repeatedly queries a trained model to infer whether a person was in its training set. Which control or management decision most directly addresses the concern?
- Maintain a structured red-team suite covering direct, indirect, and tool-mediated abuse.
- Validate data provenance, detect anomalous labels, and quarantine suspicious training records.
- Assess membership-inference exposure and apply suitable privacy-preserving controls.
- Require deterministic command validation and tightly restricted execution permissions.
Explanation
Correct Answer
C:Model outputs may reveal characteristics of sensitive training data.
Incorrect Answers
A:Repeatable adversarial evaluations reveal regressions before and after release. This is useful when an enterprise has no adversarial test cases for prompt injection in its customer-facing assistant.
B:Training-data poisoning can manipulate learned behavior through compromised inputs. This is useful when an adversary poisons labeled training samples to alter one class of model predictions.
D:Unvalidated generated output can turn model mistakes or manipulation into code execution. This is useful when an AI agent executes operating-system commands copied from generated text.
Question 416
Before approving the next AI program milestone, reviewers identify the following problem: An attacker repeatedly queries a trained model to infer whether a person was in its training set. What should the accountable team prioritize?
- Monitor input drift and investigate whether it reflects attack, data fault, or environmental change.
- Enforce tenant-scoped retrieval authorization and output-level sensitive data controls.
- Enforce tenant filters and test query authorization at the retrieval layer.
- Assess membership-inference exposure and apply suitable privacy-preserving controls.
Explanation
Correct Answer
D:Model outputs may reveal characteristics of sensitive training data. The control belongs at the decision point where the risk arises in this case.
Incorrect Answers
A:Unusual feature shifts can indicate evasion or reliability degradation. This is useful when an ML model starts misclassifying legitimate traffic after a sudden input distribution shift.
B:Authorization must constrain both retrieved context and information exposed in output. This is useful when a chatbot unexpectedly returns another customer's account number.
C:Vector similarity must not bypass ownership and access restrictions. This is useful when an enterprise detects suspicious cross-tenant retrieval results in its vector-search application.
Question 417
An AI risk assurance exercise documents this operational gap: An attacker repeatedly queries a trained model to infer whether a person was in its training set. Which recommendation best resolves the stated issue?
- Assess membership-inference exposure and apply suitable privacy-preserving controls.
- Remove secrets from prompts and apply explicit response filtering for sensitive operational content.
- Isolate the analysis sandbox and require command authorization outside the language model.
- Use MITRE ATLAS tactics and techniques to structure AI threat scenarios and detection hypotheses.
Explanation
Correct Answer
A:Model outputs may reveal characteristics of sensitive training data. It provides the stated risk reduction with a clear owner and a checkable outcome.
Incorrect Answers
B:Prompts are not a secure secret store and may be exposed through model behavior. This is useful when an AI application exposes its system prompt and credentials in debugging responses.
C:Security analysis of malicious content must not grant that content control over tools. This is useful when an enterprise uses generative AI to interpret malware samples and receives a harmful forged tool command.
D:A shared threat taxonomy supports repeatable assessment of AI attack pathways. This is useful when an organization cannot map AI-specific attacker behaviors into its threat hunting program.
Question 418
In an enterprise AI security review, the team records this condition: An AI agent is tricked into sending files to an attacker-controlled website. Which control or management decision most directly addresses the concern?
- Sanitize and validate generated markup before rendering in a trusted browser context.
- Apply per-identity rate limits, quotas, request budgets, and anomalous-usage alerts.
- Enforce tenant-scoped retrieval authorization and output-level sensitive data controls.
- Enforce outbound destination allowlists and validate tool arguments before execution.
Explanation
Correct Answer
D:Exfiltration requires an action channel that can be restricted independently of the model.
Incorrect Answers
A:Untrusted output handling can enable client-side injection even when the model is not compromised. This is useful when an assistant generates HTML that is rendered directly into a privileged internal page.
B:Resource controls reduce denial-of-wallet and availability disruption. This is useful when an attacker sends high-volume costly prompts to exhaust inference resources.
C:Authorization must constrain both retrieved context and information exposed in output. This is useful when a chatbot unexpectedly returns another customer's account number.
Question 419
Before approving the next AI program milestone, reviewers identify the following problem: An AI agent is tricked into sending files to an attacker-controlled website. What should the accountable team prioritize?
- Enforce outbound destination allowlists and validate tool arguments before execution.
- Restrict log access and redact sensitive prompt content before storage.
- Treat retrieved content as untrusted data and prevent it from overriding trusted system instructions.
- Sanitize and validate generated markup before rendering in a trusted browser context.
Explanation
Correct Answer
A:Exfiltration requires an action channel that can be restricted independently of the model. The control belongs at the decision point where the risk arises in this case.
Incorrect Answers
B:Operational logging can itself become a leakage surface. This is useful when an AI service logs contain confidential prompts accessible to unrelated engineering teams.
C:Indirect prompt injection exploits lower-trust material crossing an instruction boundary. This is useful when an attacker places malicious instructions in a retrieved article that an internal assistant is summarizing.
D:Untrusted output handling can enable client-side injection even when the model is not compromised. This is useful when an assistant generates HTML that is rendered directly into a privileged internal page.
Question 420
An AI risk assurance exercise documents this operational gap: An AI agent is tricked into sending files to an attacker-controlled website. Which recommendation best resolves the stated issue?
- Require deterministic command validation and tightly restricted execution permissions.
- Enforce outbound destination allowlists and validate tool arguments before execution.
- Treat retrieved content as untrusted data and prevent it from overriding trusted system instructions.
- Patch or isolate the affected dependency based on exploitability and impact.
Explanation
Correct Answer
B:Exfiltration requires an action channel that can be restricted independently of the model. It provides the stated risk reduction with a clear owner and a checkable outcome.
Incorrect Answers
A:Unvalidated generated output can turn model mistakes or manipulation into code execution. This is useful when an AI agent executes operating-system commands copied from generated text.
C:Indirect prompt injection exploits lower-trust material crossing an instruction boundary. This is useful when an attacker places malicious instructions in a retrieved article that an internal assistant is summarizing.
D:Vulnerable integration libraries can undermine an otherwise well-configured model. This is useful when an AI service's security review finds vulnerable retrieval packages that are already deployed.