Question 270

Support staff need latency diagnostics but should not read raw customer prompts. What observability design fits?

  1. Put prompts in metric dimension names
  2. Remove all latency metrics
  3. Separate operational metrics from restricted payload logs with distinct access roles
  4. Give every support worker full log access

Explanation

Correct Answer

C:

Most troubleshooting can use metadata. Payload access should be limited to approved need and audited use.

Incorrect Answers

A:

This spreads sensitive data and creates unsuitable high-cardinality telemetry.

B:

Operational visibility can remain without broad payload disclosure.

D:

That exceeds the stated diagnostic need and exposes sensitive content.

Question 271

A tool uses a database credential with access to every tenant. What improvement best limits accidental exposure?

  1. Keep broad access and hide tenant names in the prompt
  2. Add more examples telling the model to respect tenants
  3. Use tenant-aware authorized operations and narrowly scoped credentials or enforced row policies
  4. Rotate the same unrestricted credential more frequently as the only change

Explanation

Correct Answer

C:

The executor needs a reliable boundary even if generated arguments are wrong. Model discretion alone is insufficient.

Incorrect Answers

A:

Obscuring names does not restrict database reads.

B:

Examples cannot enforce the database permission boundary.

D:

Rotation helps lifecycle security but does not reduce its data scope.

Question 272

Two authenticated users ask identical questions but have different document permissions. What must response-cache eligibility include?

  1. The shared gateway identity, without the requesting user's authorized data scope
  2. Authorized data scope and relevant policy or corpus versions
  3. Only the corpus and prompt revision, without any requesting-user authorization scope
  4. Only the normalized question text

Explanation

Correct Answer

B:

Text equality does not imply equivalent answers or permissions. Cached content must remain valid for the requesting scope.

Incorrect Answers

A:

A common service role can serve users with different entitlements. Cache eligibility must preserve the user's actual data boundary.

C:

Versioning helps establish freshness but does not distinguish users with different document rights. Reuse must preserve the caller's current eligible evidence scope.

D:

That can return another user's privileged answer.

Question 273

A code-execution tool has no business need for outbound internet access. Which control reduces exfiltration risk?

  1. Inspect generated code once while leaving unrestricted runtime network access
  2. Restrict egress to approved destinations or disable it for that sandbox
  3. Remove execution logs to protect privacy
  4. Allow unrestricted egress and rely on a warning

Explanation

Correct Answer

B:

Network limits reduce where compromised execution can send data. They complement filesystem and credential restrictions.

Incorrect Answers

A:

Static review can help but may miss dynamic behavior. Enforced egress restrictions remain a separate containment layer.

C:

Privacy-aware logs are useful; deleting evidence does not constrain exfiltration.

D:

Warnings do not enforce destination boundaries.

Question 274

An assistant includes a presigned source-object URL in its answer. What must the application consider?

  1. Assume the object's private bucket setting makes the presigned URL harmless to share
  2. Assume the model's citation formatting enforces access
  3. Recipient authorization, expiration, and the URL's bearer-access exposure
  4. Treat the URL as public harmless metadata

Explanation

Correct Answer

C:

Anyone possessing a valid link may gain the delegated access it carries. Share only within the intended scope and lifetime.

Incorrect Answers

A:

A presigned link delegates bearer access despite the object's otherwise private permissions. Check recipient scope and the permitted lifetime before returning it.

B:

Rendering a link does not authenticate its eventual user.

D:

It can confer access to private object content.

Question 275

A deleted customer record reappears after restoring a backup. What recovery control was missing?

  1. Delete the user's new chat only
  2. Reapply deletion or suppression records when restoring retained backups
  3. Assume backups never contain personal data
  4. Change the model to a newer version
  5. Restore the backup exactly and ignore all subsequent deletion events

Explanation

Correct Answer

B:

Recovery must preserve current privacy obligations. Historical backups can contain records deleted after creation.

Incorrect Answers

A:

That does not remove the restored source and derivatives.

C:

Backups often preserve the original stored content.

D:

Model selection does not enforce deletion in restored application data.

E:

An exact historical restore can reintroduce data whose current lifecycle requires deletion or suppression.

Question 276

An evaluation team wants to use confidential production prompts in a broad developer workspace. What should happen first?

  1. Replace only customer names while leaving unique account identifiers and sensitive fields intact
  2. Copy all prompts because testing is internal
  3. Authorize the use and minimize, de-identify, or isolate data according to policy
  4. Publish the dataset so results are reproducible

Explanation

Correct Answer

C:

Evaluation needs representative data without automatically expanding access. Purpose and environment both matter.

Incorrect Answers

A:

Superficial substitution can leave the records identifiable. Minimize or properly de-identify the actual task data within an approved evaluation environment.

B:

Internal use still has permission and privacy boundaries.

D:

Reproducibility does not authorize disclosure of confidential records.

Question 277

A team claims embeddings can be shared publicly because they are not readable text. What is the correct assessment?

  1. Deleting source text always removes every embedding risk
  2. Embeddings are guaranteed anonymous for every model
  3. Any floating-point array is automatically public
  4. Treat embeddings as potentially sensitive derived data and assess disclosure risk

Explanation

Correct Answer

D:

Representations can reveal information or support linkage. Unreadability does not establish anonymity or public-sharing permission.

Incorrect Answers

A:

Derived vectors and their metadata can persist independently.

B:

There is no universal guarantee that representations carry no sensitive signal.

C:

Data type does not determine confidentiality.

Question 278

An approved model gateway changes its logging destination to an unapproved account. What security control should catch this?

  1. Configuration review and enforcement covering data destinations as well as inference targets
  2. Check only the UI's privacy notice wording
  3. Turn off destination identifiers in telemetry
  4. Check only the inference target's approval and ignore diagnostic data destinations

Explanation

Correct Answer

A:

Logs can contain prompts and responses. Governance must follow all copies of sensitive data.

Incorrect Answers

B:

A notice does not enforce actual routing or account permissions.

C:

Concealing routes makes violations harder to detect rather than preventing them.

D:

Prompts and responses can reach logging systems as well as the FM. The destination review must include those additional data flows.

Question 279

A browser app needs to call a model-backed service. What credential design avoids exposing permanent AWS keys?

  1. Use an authenticated backend or appropriately scoped temporary credentials
  2. Embed an administrator access key in JavaScript
  3. Base64-encode a permanent secret in the bundle
  4. Use a shared root credential for every browser

Explanation

Correct Answer

A:

Client-access design should limit authority and credential lifetime. Permanent secret keys must not be bundled into public code.

Incorrect Answers

B:

Users can inspect delivered code and reuse the credential.

C:

Encoding does not prevent extraction.

D:

Root access is vastly broader than the application's inference need.

Question 280

A customer-facing log viewer queries shared telemetry. Which authorization must it enforce?

  1. Assume logs are nonsensitive because they are diagnostic
  2. Let customers supply any tenant filter they want
  3. Server-side tenant scoping for every log query and returned record
  4. Hide the tenant filter control but accept arbitrary backend parameters

Explanation

Correct Answer

C:

A viewer is another data-access path. Client filters alone cannot protect shared logs.

Incorrect Answers

A:

Logs can contain prompts, identifiers, and operational secrets.

B:

An attacker could request another tenant's records.

D:

UI restrictions do not enforce server authorization.

AWS Certified Generative AI Developer - Professional AIP-C01 Practice Tests