Curated

Security, Compliance, and Governance for AI Solutions (5.1–5.2)

0 votes

Questions42

  1. Question 1

    Security, Compliance, and Governance for AI Solutions

    An auditor asks a team to show which training datasets and data sources a production model used, recorded together with the model's intended use and evaluation results. Where should the team record this information?

    Show the answer

    Correct answerB. In the training details of the model's Amazon SageMaker Model Card

    AWhy not this: Guardrails filter content at runtime; they do not record where a model's training data came from.

    BWhy this is right: A Model Card's training details record the datasets and sources used, alongside intended uses and evaluations.

    CWhy not this: IAM policies control who can call an endpoint; they do not document a model's training data.

    DWhy not this: Macie identifies sensitive data in storage; it does not record which data a model was trained on.

    An Amazon SageMaker Model Card keeps a model's documentation in one record, including training details such as the datasets used, its intended uses, and its evaluation results, which gives auditors the data origins in context. Macie finds sensitive data in storage but does not document which data a model was trained on.

    Open this question
  2. Question 2

    Security, Compliance, and Governance for AI Solutions

    An auditor must trace a training dataset back to its original records and identify the cleaning and merging operations applied. What documentation best meets this need?

    Show the answer

    Correct answerD. A lineage record linking sources and transformations

    AWhy not this: Quality summaries describe data characteristics but do not trace the dataset's origins and processing history.

    BWhy not this: Schemas and ownership metadata help describe datasets but do not establish how source records were transformed.

    CWhy not this: Read-request logs show access activity, not the cleaning and merging operations that produced the dataset.

    DWhy this is right: Lineage connects original sources to derived datasets through their transformation history.

    Data lineage records where data originated and how it changed as it moved through a pipeline. A data catalog helps users discover datasets and understand their metadata, but a schema-and-owner listing does not establish transformation history.

    Open this question
  3. Question 3

    Security, Compliance, and Governance for AI Solutions

    Which AWS service discovers sensitive data in Amazon S3 buckets containing AI training datasets?

    Show the answer

    Correct answerC. Amazon Macie

    AWhy not this: IAM controls access to AWS resources; it does not inspect their contents for sensitive data.

    BWhy not this: AWS PrivateLink provides private connectivity to supported services; it does not discover sensitive data.

    CWhy this is right: Amazon Macie analyzes S3 objects to discover sensitive data, including personally identifiable information.

    DWhy not this: Amazon Bedrock Guardrails filters model inputs and responses rather than scanning training datasets in S3.

    Amazon Macie discovers sensitive data in Amazon S3 using machine learning and pattern matching. Amazon Bedrock Guardrails can filter sensitive information in model inputs and responses, but it does not scan S3 datasets.

    Open this question
  4. Question 4

    Security, Compliance, and Governance for AI Solutions

    Which AWS service provides on-demand access to AWS compliance reports and selected agreements?

    Show the answer

    Correct answerB. AWS Artifact

    AWhy not this: AWS Trusted Advisor provides recommendations about AWS environments, not access to AWS compliance agreements.

    BWhy this is right: AWS Artifact provides AWS compliance documents and selected agreements for review and acceptance.

    CWhy not this: AWS CloudTrail provides records of account activity, not AWS compliance reports and agreements.

    DWhy not this: Amazon Inspector provides vulnerability findings, not AWS compliance documents.

    AWS Artifact provides access to AWS compliance reports and selected agreements. AWS Trusted Advisor offers best-practice recommendations, not AWS compliance documentation.

    Open this question
  5. Question 5

    Security, Compliance, and Governance for AI Solutions

    An approved internal AI assistant will be changed to process customer financial records. Its next scheduled governance review is six months away; what should the team do BEFORE deployment?

    Show the answer

    Correct answerA. Trigger a governance review of the changed data use and risks.

    AWhy this is right: A change-triggered review reassesses privacy, compliance, and security requirements before the new use begins.

    BWhy not this: Operational monitoring can support governance but does not replace approval of a materially changed use.

    CWhy not this: Approval depends on the use and data as well as the model; unchanged model technology is insufficient.

    DWhy not this: A scheduled cadence does not justify postponing review of a material change in data use.

    A material change in data use should trigger a governance review before deployment, even between scheduled reviews. Keeping the same model does not preserve the original risk profile when the data and use change.

    Open this question
  6. Question 6

    Security, Compliance, and Governance for AI Solutions

    What is the PRIMARY purpose of role-based AI governance training?

    Show the answer

    Correct answerA. To teach staff the AI policies relevant to their responsibilities

    AWhy this is right: Staff need to understand the policies and governance duties that apply to their roles.

    BWhy not this: Employee training supports compliance reviews rather than eliminating their necessity.

    CWhy not this: The organization retains accountability for AI decisions even when an external provider delivers training.

    DWhy not this: Role-based training varies with responsibilities; not everyone needs technical administration skills.

    Role-based training teaches people how to apply AI policies within their responsibilities. Training supports governance reviews and accountability; it does not replace or transfer them.

    Open this question
  7. Question 7

    Security, Compliance, and Governance for AI Solutions

    An AI application's policy requires prompt content to be deleted within 30 days, but access audit records must remain for one year. Its audit logs currently contain full prompts; which strategy meets BOTH requirements?

    Show the answer

    Correct answerB. Exclude prompt content from retained audit records and expire all prompt copies within 30 days.

    AWhy not this: Full prompts in audit logs remain prompt content, so retaining those logs for one year violates the deletion deadline.

    BWhy this is right: Separating access metadata from prompt content allows each data category to follow its required retention period.

    CWhy not this: Access-count summaries do not preserve the required access audit records for one year.

    DWhy not this: Encryption and access restrictions do not delete prompt content within the required period.

    Separate retention rules can preserve access audit records for one year while deleting prompt content within 30 days. Encryption and restricted access protect retained content but do not satisfy a deletion requirement.

    Open this question
  8. Question 8

    Security, Compliance, and Governance for AI Solutions

    An AI team must continuously evaluate whether its AWS resource configurations meet approved rules and retain configuration history for audits. Which service BEST meets these requirements?

    Show the answer

    Correct answerA. AWS Config

    AWhy this is right: AWS Config retains resource configuration history and evaluates configurations against rules.

    BWhy not this: AWS CloudTrail records account activity and API calls; it does not evaluate resource configurations against compliance rules.

    CWhy not this: AWS Trusted Advisor provides best-practice recommendations rather than the required configuration history and rule evaluations.

    DWhy not this: Amazon Inspector identifies software vulnerabilities and unintended network exposure in supported workloads.

    AWS Config records resource configurations and evaluates them against rules. AWS CloudTrail records account activity and API calls rather than evaluating resource configurations against compliance rules.

    Open this question
  9. Question 9

    Security, Compliance, and Governance for AI Solutions

    An AI team must detect whether training files changed after an approved dataset was released. Which practice BEST meets this requirement?

    Show the answer

    Correct answerC. Compare file hashes with a protected release manifest

    AWhy not this: Source metadata supports discovery and provenance, not verification that file contents are unchanged.

    BWhy not this: Quality checks identify dataset defects but do not verify that files match an approved release.

    CWhy this is right: A hash mismatch reveals a change relative to the approved release, provided the reference manifest is protected.

    DWhy not this: Tokenization reduces exposure of personal identifiers but does not detect later changes to files.

    Comparing hashes against a protected, trusted manifest detects changes to released files. A data catalog describes sources and metadata but does not by itself verify that file contents remain unchanged.

    Open this question
  10. Question 10

    Security, Compliance, and Governance for AI Solutions

    A RAG assistant cites an approved policy document, but reviewers find that some answers contradict the cited passages. Which additional check BEST detects this problem?

    Show the answer

    Correct answerB. Check whether answer claims are supported by retrieved passages

    AWhy not this: Catalog membership documents a source's presence but does not establish that it supports the answer.

    BWhy this is right: Comparing claims with retrieved evidence detects contradictions and unsupported statements.

    CWhy not this: Self-reported confidence is not reliable evidence that an answer agrees with its cited source.

    DWhy not this: Schema validation checks response structure, not whether factual claims agree with the evidence.

    Claim-level grounding validation checks whether retrieved evidence actually supports an answer. A citation alone does not establish support, and a model's self-reported confidence can remain high even when its answer is unsupported.

    Open this question
  11. Question 11

    Security, Compliance, and Governance for AI Solutions

    Which practices directly protect AI interaction data or support security investigations? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Encrypt stored interaction recordsC. Use TLS for inference requestsE. Maintain access-controlled interaction audit logs

    AWhy this is right: Encryption at rest protects stored interaction records against disclosure through unauthorized storage access.

    BWhy not this: Grounding improves factual accuracy but does not directly secure interaction data or provide an audit trail.

    CWhy this is right: TLS protects inference requests against interception and tampering during transmission.

    DWhy not this: Cataloging dataset origins documents provenance rather than protecting interaction data or recording interaction activity.

    EWhy this is right: Protected interaction logs provide evidence for investigating access, requests, and responses.

    FWhy not this: A larger context window increases input capacity; it does not provide a security control.

    Encryption at rest and TLS protect interaction data, while access-controlled audit logs support investigations. Cataloging dataset origins supports provenance rather than directly protecting interactions or recording security-relevant activity.

    Open this question
  12. Question 12

    Security, Compliance, and Governance for AI Solutions

    An assistant retrieves a document containing instructions to send confidential records through an otherwise permitted tool. The document passes malware scanning, and the user requested only a summary. Which control BEST addresses this threat?

    Show the answer

    Correct answerA. Treat retrieved text as untrusted data and enforce tool authorization outside the model

    AWhy this is right: Untrusted-content boundaries and independent tool authorization prevent retrieved instructions from granting action permissions.

    BWhy not this: Encryption protects stored or transmitted data, not misuse by an assistant that can already read it.

    CWhy not this: Citations and retained sources support traceability but do not prevent an unauthorized tool action.

    DWhy not this: Malware scanning does not reliably identify malicious natural-language instructions embedded in otherwise ordinary documents.

    This is indirect prompt injection: instructions embedded in retrieved content attempt to redirect the assistant. Treating that content as untrusted and independently authorizing tool actions limits its influence; malware scanning does not establish whether natural-language instructions are trustworthy.

    Open this question
  13. Question 13

    Security, Compliance, and Governance for AI Solutions

    An AI team requests a temporary exception to an internal governance policy for a pilot. Which process BEST preserves accountability if the policy permits exceptions?

    Show the answer

    Correct answerB. Obtain designated approval, document compensating controls, and set an expiration date.

    AWhy not this: Logging a justification creates a record but does not provide authorized approval or define exception limits.

    BWhy this is right: Designated approval, compensating controls, and expiration make the exception accountable and bounded.

    CWhy not this: Provider compliance evidence does not authorize an exception to the customer's internal policy.

    DWhy not this: Sponsor approval alone may lack delegated authority, and delayed documentation weakens accountability.

    A governed exception requires authorized approval, documented risk treatment, and a defined end or reassessment point. Operational logging can preserve evidence but does not authorize a departure from policy.

    Open this question
  14. Question 14

    Security, Compliance, and Governance for AI Solutions

    An AI service must keep customer content within an approved jurisdiction, including during inference and recovery. Its primary storage complies, but inference can route elsewhere and recovery copies include prompts; which strategy BEST meets the requirement?

    Show the answer

    Correct answerC. Constrain storage, inference routing, content-bearing logs, and recovery copies to the approved jurisdiction.

    AWhy not this: Removing identifiers does not satisfy a residency rule that applies to customer content, not just identifiable records.

    BWhy not this: Recording locations provides evidence but does not prevent processing or storage outside the permitted jurisdiction.

    CWhy this is right: These controls address residency across processing and all identified copies of customer content.

    DWhy not this: Encryption protects content but does not satisfy a restriction on its storage or processing location.

    Data residency must cover every location where governed content is stored or processed, including inference, logs, and recovery copies. Encryption protects confidentiality but does not change where content resides.

    Open this question
  15. Question 15

    Security, Compliance, and Governance for AI Solutions

    What is the PRIMARY purpose of transparency standards for an AI system?

    Show the answer

    Correct answerD. Define disclosures about AI use, capabilities, and limitations.

    AWhy not this: Storage duration is governed by retention policies rather than transparency standards.

    BWhy not this: Vulnerability scanning frequency belongs to security assessment procedures.

    CWhy not this: Approved resource settings belong to configuration and security policies.

    DWhy this is right: Transparency standards guide disclosures that help stakeholders understand an AI system and its limitations.

    Transparency standards establish what stakeholders should be told about an AI system, including its use and limitations. Retention policies instead determine how long records are stored.

    Open this question
  16. Question 16

    Security, Compliance, and Governance for AI Solutions

    An auditor needs to trace an AI training dataset back to its sources and determine which transformations produced the final version. Which data governance practice BEST supports this?

    Show the answer

    Correct answerC. Maintaining data lineage records

    AWhy not this: Retention periods govern how long data remains available, not its origin or transformation history.

    BWhy not this: Configuration reviews assess resource settings rather than trace dataset transformations.

    CWhy this is right: Lineage links a dataset to its source data and the transformations that created it.

    DWhy not this: Resource utilization shows operational consumption rather than the history of a dataset.

    Data lineage records the origins, movements, and transformations of data, supporting traceability of training datasets. Retention periods determine how long data is kept, not how it was produced.

    Open this question
  17. Question 17

    Security, Compliance, and Governance for AI Solutions

    A company is comparing a provider-hosted generative AI application with an application it will build using a managed foundation model. Which approach BEST identifies how its security responsibilities differ between these adoption patterns?

    Show the answer

    Correct answerC. Use the Generative AI Security Scoping Matrix to map responsibilities for each pattern.

    AWhy not this: Configuration checks evaluate resource settings rather than define responsibilities for different adoption patterns.

    BWhy not this: Vulnerability findings identify technical weaknesses rather than allocate responsibilities across adoption patterns.

    CWhy this is right: The matrix distinguishes generative AI scopes and helps identify the security responsibilities associated with each.

    DWhy not this: Compliance reports support provider assurance but do not map responsibilities across generative AI adoption patterns.

    The Generative AI Security Scoping Matrix helps identify security responsibilities across different generative AI adoption patterns. Provider compliance reports supply assurance evidence but do not replace mapping the customer's responsibilities for each pattern.

    Open this question
  18. Question 18

    Security, Compliance, and Governance for AI Solutions

    Which data governance practice records where an AI training dataset originated and how it was transformed?

    Show the answer

    Correct answerB. Data lineage

    AWhy not this: Data residency concerns the geographic locations where data is stored or processed.

    BWhy this is right: Data lineage documents source data and the transformations used to produce a dataset.

    CWhy not this: Data classification assigns categories based on characteristics such as sensitivity or business importance.

    DWhy not this: Data retention determines how long data is kept and when it should be deleted.

    Data lineage tracks data origins, movement, and transformations. Data classification assigns categories such as sensitivity levels rather than documenting the dataset's transformation history.

    Open this question
  19. Question 19

    Security, Compliance, and Governance for AI Solutions

    A team stores the prompt and response logs of its GenAI assistant in Amazon S3 for audits. Policy says the logs are kept for one year, at the lowest storage cost, and then deleted. What should the team configure?

    Show the answer

    Correct answerB. S3 Lifecycle rules that transition and then expire the logs

    AWhy not this: Object Lock stops the logs from being deleted for a year, but it neither deletes them afterward nor reduces their storage cost.

    BWhy this is right: Lifecycle rules move the logs to cheaper storage as they age and delete them when the retention period ends.

    CWhy not this: Versioning keeps extra copies of changed or deleted logs, which adds cost and works against deleting them after a year.

    DWhy not this: Replication stores a second copy in another Region, which doubles storage cost and deletes nothing.

    S3 Lifecycle rules manage the data lifecycle: they can move older logs to a cheaper storage class and expire them after one year. Object Lock prevents deletion during the retention period, but it does not delete the logs afterward or lower their storage cost.

    Open this question
  20. Question 20

    Security, Compliance, and Governance for AI Solutions

    An auditor needs to identify which IAM principal changed an AI application's permissions and when the change occurred. Which AWS service provides the relevant activity records?

    Show the answer

    Correct answerD. AWS CloudTrail

    AWhy not this: Amazon Inspector identifies software vulnerabilities and unintended network exposure, not who changed permissions.

    BWhy not this: AWS Config tracks resource configurations; CloudTrail is the primary source for the identity responsible for an API action.

    CWhy not this: AWS Trusted Advisor provides recommendations based on checks, not an audit history of API callers.

    DWhy this is right: AWS CloudTrail records API events with details such as the calling identity, event time, and requested action.

    AWS CloudTrail records API activity, including the calling identity and event time. AWS Config records resource configuration changes but is not the primary source for attributing an API action to a principal.

    Open this question
  21. Question 21

    Security, Compliance, and Governance for AI Solutions

    Which AWS service scans Amazon ECR container images for software vulnerabilities?

    Show the answer

    Correct answerA. Amazon Inspector

    AWhy this is right: Amazon Inspector identifies software vulnerabilities in container images stored in Amazon ECR.

    BWhy not this: AWS Trusted Advisor provides best-practice recommendations rather than container package vulnerability findings.

    CWhy not this: Amazon CloudWatch collects metrics and logs but does not provide native package vulnerability scanning.

    DWhy not this: AWS Artifact provides compliance documentation and agreements rather than scanning container software.

    Amazon Inspector scans supported resources, including Amazon ECR container images, for software vulnerabilities. AWS Trusted Advisor provides best-practice checks rather than package-level vulnerability scanning of container images.

    Open this question
  22. Question 22

    Security, Compliance, and Governance for AI Solutions

    An AI governance team needs centralized configuration visibility across accounts, detection of changes to delivered audit logs, and protection against deletion of archived evidence. Which feature-to-purpose mappings meet these needs? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. AWS Config aggregator — consolidate configuration data across accountsC. Amazon S3 Object Lock — retain evidence using write-once-read-many protectionD. CloudTrail log file integrity validation — detect altered log files

    AWhy this is right: An AWS Config aggregator collects configuration and compliance data from multiple accounts and Regions into a central view.

    BWhy not this: Trusted Advisor checks provide recommendations; they do not cryptographically validate delivered CloudTrail logs.

    CWhy this is right: S3 Object Lock supports write-once-read-many storage to protect object versions against deletion or overwrite during retention.

    DWhy this is right: CloudTrail integrity validation uses digest files to help detect modification or deletion of delivered log files.

    EWhy not this: Inspector findings describe vulnerabilities; they do not prevent deletion of archived evidence.

    AWS Config aggregators consolidate configuration data, CloudTrail integrity validation detects log alteration, and S3 Object Lock provides WORM protection. Trusted Advisor does not validate delivered log files, and Inspector findings do not enforce evidence retention.

    Open this question
  23. Question 23

    Security, Compliance, and Governance for AI Solutions

    An AI team needs a searchable inventory of available datasets, including their schemas, owners, and descriptions. Which approach BEST meets this need?

    Show the answer

    Correct answerB. Maintain a centralized data catalog

    AWhy not this: A model evaluation report describes model performance rather than an inventory of available datasets.

    BWhy this is right: A data catalog organizes searchable metadata that helps users discover and understand datasets.

    CWhy not this: An interaction audit log records AI activity rather than dataset schemas and descriptive metadata.

    DWhy not this: An access policy defines permitted actions but does not serve as a dataset metadata inventory.

    A data catalog provides searchable metadata about datasets, including schemas, ownership, and descriptions. An access policy specifies permissions but does not provide a searchable inventory of dataset characteristics.

    Open this question
  24. Question 24

    Security, Compliance, and Governance for AI Solutions

    A team can access an externally supplied dataset through an approved IAM role, but must determine whether its records may be used for model training. Which documentation BEST supports that decision?

    Show the answer

    Correct answerB. The records' sources and applicable usage licenses

    AWhy not this: Encryption settings describe confidentiality protections, not permitted uses of the source records.

    BWhy this is right: Source and license documentation provides evidence of origin and the conditions governing training use.

    CWhy not this: IAM permissions establish technical access but do not establish rights to use externally supplied data for training.

    DWhy not this: Validation results describe data quality rather than the permitted uses of the records.

    Documented sources and applicable licenses help establish whether the data may be used for training. IAM permissions establish technical access, not the legal or contractual right to use the records for that purpose.

    Open this question
  25. Question 25

    Security, Compliance, and Governance for AI Solutions

    An AI assistant cites policies that are revised at the same URLs, and older versions remain archived. Reviewers must recover the exact passage used for each answer without logging entire documents. What should the citation record include?

    Show the answer

    Correct answerC. The document identifier, version identifier, and passage location

    AWhy not this: A URL and timestamp may not identify the exact revision, and confidence does not locate the supporting passage.

    BWhy not this: A current URL can resolve to revised content, and a relevance score does not identify the historical passage.

    CWhy this is right: The identifiers distinguish the source revision, while the passage location identifies the exact supporting evidence.

    DWhy not this: Model and prompt versions describe generation settings, not the exact source evidence used.

    A document identifier, version identifier, and passage location let reviewers recover the precise evidence used. A URL and timestamp alone may not uniquely identify the archived revision or the supporting passage.

    Open this question
  26. Question 26

    Security, Compliance, and Governance for AI Solutions

    What is the primary purpose of source citations in an AI-generated report?

    Show the answer

    Correct answerC. Attribute information to its original sources

    AWhy not this: Access controls determine who can read documents; citations do not enforce permissions.

    BWhy not this: Confidence scoring concerns estimated certainty rather than attribution of information.

    CWhy this is right: Citations identify the sources to which reported information is attributed.

    DWhy not this: Output filtering screens generated content rather than documenting its sources.

    Source citations attribute information to its origins so readers can identify the referenced material. Confidence scoring estimates certainty; it does not identify where information came from.

    Open this question
  27. Question 27

    Security, Compliance, and Governance for AI Solutions

    A team will release aggregate statistics from sensitive training records. It wants to limit what recipients can infer about any individual's participation while retaining useful population trends. Which technique BEST fits?

    Show the answer

    Correct answerD. Apply differential privacy to the statistics

    AWhy not this: Stable identifiers can support record linkage and do not provide differential privacy's participation protections.

    BWhy not this: Checksums detect changes to data rather than limiting disclosure about individuals.

    CWhy not this: Encryption protects stored data from unauthorized access but does not limit inference by authorized recipients.

    DWhy this is right: Differential privacy limits individual influence on released statistics while preserving useful aggregate patterns.

    Differential privacy uses calibrated randomness to limit the influence of an individual's data on released results. Replacing names with stable identifiers is pseudonymization and can still permit linkage or inference.

    Open this question
  28. Question 28

    Security, Compliance, and Governance for AI Solutions

    An application in a VPC must invoke Amazon Bedrock without routing requests over the public internet. Which solution BEST meets this requirement?

    Show the answer

    Correct answerB. An interface VPC endpoint using AWS PrivateLink

    AWhy not this: An IAM role authorizes requests but does not determine their network path.

    BWhy this is right: An interface endpoint uses AWS PrivateLink to reach the service privately from the VPC.

    CWhy not this: TLS encrypts traffic but does not provide private connectivity to the service.

    DWhy not this: A NAT gateway provides outbound connectivity through an internet gateway rather than a private service endpoint.

    An interface VPC endpoint powered by AWS PrivateLink provides private connectivity to Amazon Bedrock. TLS protects traffic in transit but does not change a public endpoint into a private network path.

    Open this question
  29. Question 29

    Security, Compliance, and Governance for AI Solutions

    Which AWS service creates and manages encryption keys used to protect stored AI training data?

    Show the answer

    Correct answerC. AWS Key Management Service (AWS KMS)

    AWhy not this: Amazon Macie discovers sensitive data in S3 rather than managing encryption keys.

    BWhy not this: IAM manages identities and permissions, not cryptographic key material.

    CWhy this is right: AWS KMS creates and manages keys used for cryptographic protection of data.

    DWhy not this: AWS CloudTrail records account activity; it does not create and manage encryption keys.

    AWS KMS creates and manages encryption keys that supported storage services can use to protect data. IAM controls access permissions rather than managing cryptographic keys.

    Open this question
  30. Question 30

    Security, Compliance, and Governance for AI Solutions

    A company uses Amazon Bedrock for a general-purpose assistant but must block conversations about investment recommendations. Which feature BEST enforces this content restriction?

    Show the answer

    Correct answerC. Denied topics in Amazon Bedrock Guardrails

    AWhy not this: IAM invocation permissions control API access rather than conversational subject matter.

    BWhy not this: Invocation logging records interactions but does not block prohibited subjects.

    CWhy this is right: Denied topics restrict conversations about specified subjects without blocking all model access.

    DWhy not this: Amazon Macie discovers sensitive data in S3; it does not enforce conversational topic restrictions.

    Denied topics in Amazon Bedrock Guardrails restrict specified subjects in user inputs and model responses. IAM permissions control access to model APIs, not which subjects an authorized conversation can cover.

    Open this question
  31. Question 31

    Security, Compliance, and Governance for AI Solutions

    An AI workload's IAM role has a policy allowing reads from a training-data bucket. Another policy attached to the role explicitly denies reads from its restricted prefix. What happens when the workload reads an object in that prefix?

    Show the answer

    Correct answerD. Access is denied because the explicit deny overrides the allow.

    AWhy not this: A broad allow does not override an applicable explicit deny.

    BWhy not this: IAM evaluates applicable policies together rather than using attachment order.

    CWhy not this: Server-side encryption does not override an authorization denial.

    DWhy this is right: The explicit deny applies to the requested prefix and takes precedence over the allow.

    An applicable explicit deny overrides an allow during IAM policy evaluation. A broader bucket-level allow does not override a deny covering a specific prefix.

    Open this question
  32. Question 32

    Security, Compliance, and Governance for AI Solutions

    Under the AWS shared responsibility model, which security tasks belong to a customer running an AI application on Amazon EC2? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersC. Patching the EC2 guest operating systemD. Managing the application's IAM permissionsF. Configuring the application's security groups

    AWhy not this: AWS patches and maintains the underlying virtualization infrastructure.

    BWhy not this: AWS maintains the physical hardware that hosts EC2 instances.

    CWhy this is right: Customers are responsible for patching the guest operating systems of their EC2 instances.

    DWhy this is right: Customers define and maintain the permissions granted to their applications.

    EWhy not this: AWS controls physical access to the data centers hosting its infrastructure.

    FWhy this is right: Customers configure security groups to control network traffic for their workloads.

    For EC2 workloads, customers manage guest operating system patches, security group configuration, and application IAM permissions. AWS secures the underlying physical facilities, hosts, and virtualization infrastructure.

    Open this question
  33. Question 33

    Security, Compliance, and Governance for AI Solutions

    Analysts must join customer records across training tables without seeing customer identities. A separate authorized team must retain the ability to recover identities for corrections. Which practices meet these requirements? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Keep the token-to-identity mapping in a separately restricted storeD. Replace identifiers with consistent random tokens across tables

    AWhy this is right: A restricted mapping supports authorized identity recovery without giving analysts that capability.

    BWhy not this: Unrelated replacements prevent matching the same customer across tables.

    CWhy not this: Deleting the mappings removes the required ability to recover identities for corrections.

    DWhy this is right: Consistent tokens allow records for the same customer to be joined without exposing direct identifiers.

    EWhy not this: Storage encryption does not conceal identifiers from analysts authorized to read the decrypted tables.

    Consistent tokens preserve joins without exposing direct identifiers, while a separately restricted mapping enables authorized re-identification. Storage encryption alone does not hide identifiers from analysts who can read the tables.

    Open this question
  34. Question 34

    Security, Compliance, and Governance for AI Solutions

    Which practice assesses training data quality before ingestion?

    Show the answer

    Correct answerC. Checking records for missing or invalid values

    AWhy not this: Catalog access restrictions control visibility rather than assessing the underlying records.

    BWhy not this: Source documentation establishes provenance rather than checking record completeness or validity.

    CWhy this is right: Missing-value and validity checks directly assess whether records meet data quality requirements.

    DWhy not this: Storage encryption protects confidentiality rather than assessing data quality.

    Checking for missing or invalid values assesses whether data meets quality requirements before ingestion. Documenting original sources supports provenance but does not establish that the records are valid or complete.

    Open this question
  35. Question 35

    Security, Compliance, and Governance for AI Solutions

    A security scan finds a known vulnerability in a library used by an AI application's API. A patched version is available. Which action BEST addresses the underlying risk?

    Show the answer

    Correct answerB. Update the library and test the application before deployment

    AWhy not this: Changing storage encryption does not fix the vulnerable API library.

    BWhy this is right: Applying the patched version addresses the vulnerable dependency; testing checks that the application still functions.

    CWhy not this: A confidence threshold affects answer handling, not vulnerabilities in application dependencies.

    DWhy not this: Citations support answer traceability but do not remediate vulnerable software.

    Updating the affected library removes the known vulnerable dependency, and testing checks compatibility before deployment. Encrypting stored prompts protects confidentiality but does not remediate a software vulnerability in the API.

    Open this question
  36. Question 36

    Security, Compliance, and Governance for AI Solutions

    A training pipeline needs to read an approved dataset but must not change or delete it. Which access policy BEST meets this requirement?

    Show the answer

    Correct answerC. Grant read-only access to the approved dataset

    AWhy not this: Write permission permits changes and does not provide the required read-only boundary.

    BWhy not this: Administrator access provides unnecessary privileges, even if granted temporarily.

    CWhy this is right: Dataset-scoped read-only access permits training reads while preventing modifications and deletion.

    DWhy not this: Access to all training datasets exceeds the pipeline's stated data requirements.

    Read-only access scoped to the approved dataset provides the permissions the pipeline needs without allowing changes. Read access to all training datasets prevents writes but exposes more data than required.

    Open this question
  37. Question 37

    Security, Compliance, and Governance for AI Solutions

    Which control directly reduces the risk of an AI assistant displaying toxic or abusive language?

    Show the answer

    Correct answerB. Output content filtering

    AWhy not this: Confidence scores do not establish whether generated language is toxic.

    BWhy this is right: Content filters can evaluate generated text for harmful language and block unsuitable responses.

    CWhy not this: Transport encryption protects data in transit rather than assessing its content.

    DWhy not this: Citations identify supporting sources but do not filter abusive language.

    Output content filtering can detect and block toxic or abusive responses before users receive them. Confidence scoring estimates confidence in an answer; it does not determine whether its language is harmful.

    Open this question
  38. Question 38

    Security, Compliance, and Governance for AI Solutions

    An internal policy assistant must answer only from approved documents, but retrieval finds no evidence for a user's requested exception. Which response behavior BEST reduces unsupported claims?

    Show the answer

    Correct answerA. State that evidence is insufficient and refer the request for review

    AWhy this is right: Acknowledging insufficient evidence avoids inventing policy and allows an authorized reviewer to resolve the request.

    BWhy not this: Lower temperature reduces randomness but does not provide evidence for the requested exception.

    CWhy not this: Agreement among generated answers does not establish that an exception exists in approved policy.

    DWhy not this: Model memory is not an approved source and may supply an inapplicable or invented exception.

    Abstaining when approved evidence is missing avoids presenting an unsupported exception as policy. Lowering temperature can make generation more consistent, but it cannot supply missing evidence.

    Open this question
  39. Question 39

    Security, Compliance, and Governance for AI Solutions

    A customer-facing AI assistant occasionally includes personal phone numbers in generated replies. Which control BEST prevents these numbers from reaching users?

    Show the answer

    Correct answerA. Apply a sensitive-information filter to responses

    AWhy this is right: Response filtering can detect and block or mask sensitive information before users receive it.

    BWhy not this: Model modification permissions control changes to the model, not sensitive content in its replies.

    CWhy not this: Storage encryption protects data at rest, not sensitive information displayed in generated replies.

    DWhy not this: Invocation logs support investigations but do not directly prevent disclosure in responses.

    A sensitive-information filter can detect and block or mask phone numbers before responses reach users. Encryption protects stored information but does not prevent disclosure through an authorized application's replies.

    Open this question
  40. Question 40

    Security, Compliance, and Governance for AI Solutions

    Which technique retrieves relevant external information and supplies it as context when a model generates an answer?

    Show the answer

    Correct answerD. Retrieval Augmented Generation

    AWhy not this: Training data anonymization reduces exposure of identifying information rather than retrieving context.

    BWhy not this: Model documentation records model characteristics, development details, and intended uses.

    CWhy not this: Data cataloging organizes metadata so datasets can be discovered and understood.

    DWhy this is right: Retrieval Augmented Generation combines relevant retrieved information with the generation process.

    Retrieval Augmented Generation supplies retrieved information as context for answer generation. Data cataloging helps organize and discover datasets but does not itself supply context to a generating model.

    Open this question
  41. Question 41

    Security, Compliance, and Governance for AI Solutions

    A RAG application uses Amazon Bedrock. It must block answers that contain claims not supported by the source passages it retrieved. Which Amazon Bedrock Guardrails feature checks for this?

    Show the answer

    Correct answerC. Contextual grounding check

    AWhy not this: Denied topics block subjects the application must not discuss, whether or not the answer matches its sources.

    BWhy not this: Content filters detect harmful categories such as hate or violence, not claims missing from the source passages.

    CWhy this is right: The contextual grounding check compares the answer with the retrieved source and blocks responses that are not supported by it.

    DWhy not this: Sensitive information filters detect and mask personal data such as account numbers, not unsupported claims.

    The contextual grounding check in Amazon Bedrock Guardrails scores a response against the reference source and the user's query, and blocks responses that fall below a grounding or relevance threshold. This detects hallucinated claims in RAG answers.

    Open this question
  42. Question 42

    Security, Compliance, and Governance for AI Solutions

    An assistant assigns high confidence scores to many answers that experts identify as incorrect. The team wants to use scores to route uncertain answers for review. What should it do FIRST?

    Show the answer

    Correct answerD. Calibrate scores against expert-labeled factual correctness

    AWhy not this: Answer length does not establish whether confidence corresponds to factual accuracy.

    BWhy not this: A higher cutoff is not reliable until the relationship between scores and factual correctness has been established.

    CWhy not this: Repeated self-assessments can share the same overconfidence and do not establish factual correctness.

    DWhy this is right: Expert-labeled examples provide evidence for relating confidence scores to actual correctness.

    Calibration checks whether confidence scores correspond to observed correctness using labeled examples. Raising an unvalidated threshold does not establish that higher scores reliably identify more accurate answers.

    Open this question