Question 270
A retail loyalty assistant uses Bedrock and DynamoDB session memory. The current operating limitation is that logs include plaintext chat bodies that are exported to an analytics account. Which action should be prioritized?
Explanation
Correct Answer
A production-safe solution requires the team to apply redaction and tightly scoped encrypted log access. Operational exports must follow the same privacy rules. That change addresses the fact that logs include plaintext chat bodies that are exported to an analytics account; other related improvements would not repair this failure by themselves.
Incorrect Answers
Although it may be useful to restrict endpoint and IAM permissions to approved callers and models, that would address the condition that a private network endpoint exists but its policy allows every principal to call every model. Network placement does not replace authorization.
Minimize input attributes and mask private fields before invocation addresses the model receives complete addresses when only city-level pricing is required. Task context should not include unrelated personal details.
The proposed step to bind session keys to the authenticated principal and enforce isolation addresses situations where session state from customer A is reused for customer B under a shared cache key. Memory caching must not cross account boundaries.