Curated

Security, Compliance, and Governance 2 (2.5)

0 votes

Questions10

  1. Question 1

    Security, Compliance, and Governance

    Which Amazon Bedrock Guardrails capability checks whether a generated response is supported by supplied reference material?

    Show the answer

    Correct answerB. Contextual grounding checks

    AWhy not this: Word filters detect configured words or phrases rather than evaluate evidentiary support.

    BWhy this is right: Contextual grounding checks assess whether generated content is supported by supplied reference material.

    CWhy not this: Denied topic policies restrict specified subjects, not claims unsupported by source material.

    DWhy not this: Sensitive information filters detect information such as personal identifiers, not unsupported claims.

    Contextual grounding checks assess whether responses are grounded in supplied source material. Denied topic policies restrict subjects rather than assess factual support.

    Open this question
  2. Question 2

    Security, Compliance, and Governance

    Employees authenticate through an existing OIDC provider before invoking an agent on Amazon Bedrock AgentCore Runtime. Which control should validate their bearer tokens before allowing invocation?

    Show the answer

    Correct answerD. Configure inbound JWT authorization with the provider's discovery URL and allowed audiences.

    AWhy not this: An execution role governs the agent's AWS permissions; it does not configure inbound bearer-token validation.

    BWhy not this: Outbound OAuth authorizes the agent's downstream calls rather than incoming employee requests.

    CWhy not this: Guardrails evaluate content; prompt text is not a trustworthy basis for authenticating callers.

    DWhy this is right: Inbound JWT authorization validates caller tokens, including their signature and configured audience constraints.

    Inbound JWT authorization validates caller tokens using the configured identity provider and token constraints. Outbound OAuth provides credentials for the agent to access downstream services, not for employees to invoke the agent.

    Open this question
  3. Question 3

    Security, Compliance, and Governance

    A customer-service assistant must block hateful content, mask email addresses, and reject requests for investment advice. Which Amazon Bedrock Guardrails configurations meet these requirements? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Define investment advice as a denied topic.D. Enable a hate content filter.E. Configure sensitive information filters to anonymize email addresses.

    AWhy not this: Prompt attack filtering detects attempts to override instructions, not ordinary financial terminology.

    BWhy this is right: Denied topics restrict discussions of specified subjects, including investment advice.

    CWhy not this: Grounding checks assess support in reference material, not whether a subject is prohibited.

    DWhy this is right: The hate category detects hateful content and can block it at the configured threshold.

    EWhy this is right: Sensitive information filters support detecting and anonymizing email addresses.

    Content filters detect hate, sensitive information filters can anonymize email addresses, and denied topics can block investment advice. Contextual grounding evaluates support in source material; it does not prohibit a subject.

    Open this question
  4. Question 4

    Security, Compliance, and Governance

    An application calls a model hosted outside Amazon Bedrock and must retain that model. It needs centrally configured Bedrock Guardrails policies to screen both user input and generated output before release. Which integration meets these requirements?

    Show the answer

    Correct answerA. Evaluate input and output with ApplyGuardrail, enforcing its decisions.

    AWhy this is right: ApplyGuardrail supports independent evaluation; the application must withhold content when intervention is required.

    BWhy not this: Post-invocation log evaluation cannot prevent unsafe content from reaching users before release.

    CWhy not this: A VPC endpoint provides private connectivity, not content evaluation for external model traffic.

    DWhy not this: External model endpoints do not acquire Bedrock Guardrails enforcement by attaching a guardrail identifier.

    ApplyGuardrail evaluates content independently of model inference, including content from externally hosted models. Attaching a guardrail to a Bedrock inference request does not extend that integration to an external model endpoint.

    Open this question
  5. Question 5

    Security, Compliance, and Governance

    A multi-user agent accesses an external CRM that enforces record permissions through each employee's OAuth identity. Employees must consent individually, and the application must not store refresh tokens itself. Which design preserves those permissions with the least credential-management overhead?

    Show the answer

    Correct answerA. Use AgentCore Identity with a CRM OAuth provider and user-delegated tokens scoped to each employee.

    AWhy this is right: User-delegated OAuth preserves employee identity while AgentCore Identity manages the associated credentials.

    BWhy not this: A shared service-account token applies that account's CRM permissions rather than each employee's delegated permissions.

    CWhy not this: Application-managed API keys do not meet the individual OAuth consent or managed credential-storage requirements.

    DWhy not this: An IAM execution role does not replace OAuth authorization at an external CRM that requires employee OAuth identities.

    AgentCore Identity supports managed outbound OAuth credentials and user-delegated access, allowing the CRM to apply each employee's permissions. A shared service-account token represents the service account, not the employee, even when requests include an employee identifier.

    Open this question
  6. Question 6

    Security, Compliance, and Governance

    An agent running in Amazon Bedrock AgentCore Runtime uses its execution role to retrieve documents from Amazon S3. Users may invoke the agent, but it must read only an approved S3 prefix even if prompted to retrieve other objects. Which design enforces this boundary?

    Show the answer

    Correct answerC. Restrict the execution role's S3 permissions to the approved object prefix.

    AWhy not this: Model instructions guide behavior but do not enforce S3 authorization.

    BWhy not this: Caller authentication does not restrict which objects the agent's execution role can retrieve.

    CWhy this is right: Resource-scoped IAM permissions constrain S3 retrieval even when the model requests an unauthorized object.

    DWhy not this: Denied topics filter content; they do not establish an authorization boundary for S3 API calls.

    The execution role's IAM permissions enforce which S3 objects the agent can retrieve, independently of model behavior. Inbound token validation authenticates callers but does not constrain the execution role's downstream S3 access.

    Open this question
  7. Question 7

    Security, Compliance, and Governance

    A reviewer approves an AI-generated payment batch, but the agent can revise the batch before the execution task reads it. Which design ensures that only the reviewed payments are executed?

    Show the answer

    Correct answerD. Bind approval to an immutable batch version and verify that version before execution.

    AWhy not this: Content filtering does not establish human approval of the revised payment instructions.

    BWhy not this: A workflow identifier alone does not distinguish the reviewed batch from later revisions.

    CWhy not this: Reviewer authorization establishes who may approve, not which batch was approved.

    DWhy this is right: Version-bound approval prevents a revised batch from using approval granted to different payments.

    Approval must be bound to the exact immutable artifact reviewed, and execution must verify that binding. Recording approval only against a workflow ID allows a changed batch to inherit approval it never received.

    Open this question
  8. Question 8

    Security, Compliance, and Governance

    A Step Functions workflow requires human approval before an AI-generated production change can run. If no reviewer responds within four hours, which timeout handling preserves the approval requirement?

    Show the answer

    Correct answerB. Route the timeout to escalation without executing the change.

    AWhy not this: An elapsed review period provides no affirmative human authorization.

    BWhy this is right: Escalation preserves the approval gate while providing a path to resolve the unanswered request.

    CWhy not this: Automated content assessment does not satisfy the human approval requirement.

    DWhy not this: Retrying the change task could execute it without the required human approval.

    A missing decision must leave the production change blocked; the workflow can escalate for further review. Passing automated guardrail checks does not replace the explicitly required human authorization.

    Open this question
  9. Question 9

    Security, Compliance, and Governance

    An AI application proposes infrastructure changes that an engineer might take several days to review. Which design pauses orchestration until an authenticated approval service submits the engineer's decision, without keeping compute running?

    Show the answer

    Correct answerD. Use a Step Functions Standard Workflow with a task-token callback.

    AWhy not this: Express Workflows do not support task-token callbacks and cannot run for several days.

    BWhy not this: A notification alone does not prevent deployment before approval.

    CWhy not this: Lambda has a maximum invocation duration of 15 minutes and is unsuitable for waiting several days.

    DWhy this is right: A callback task durably suspends the Standard Workflow until the approval service returns the decision.

    A Standard Workflow can wait durably for a task-token callback without keeping a worker running. Express Workflows do not support the callback integration pattern and have a five-minute maximum duration.

    Open this question
  10. Question 10

    Security, Compliance, and Governance

    Which records establish who made a human approval decision for an AI operation and what they decided? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. The reviewer's approval or rejection linked to the operationB. The authenticated reviewer's identity

    AWhy this is right: A decision linked to the operation establishes what the reviewer authorized or rejected.

    BWhy this is right: An authenticated identity establishes who made the approval decision.

    CWhy not this: Model confidence is an automated assessment, not evidence identifying a human approver.

    DWhy not this: A content classification records an automated policy assessment, not a human decision.

    An accountable approval record identifies the authenticated reviewer and links their explicit decision to the operation. Model confidence and guardrail classifications describe automated assessments, not human authorization.

    Open this question