← Quay lại

Câu 371 · Professional Machine Learning Engineer

Câu 371

Professional Machine Learning Engineer

You are using generative AI to build a conversational agent to support bank customers’ inquiries about their product base and transaction history. You must ensure that the agent does not include personally identifiable information (PII) in its responses. You want to implement this requirement with minimal effort. What should you do?
  1. A. Configure the safety_settings thresholds within the Agent Platform model parameters to Block_Most.
  2. B. Develop a post-processing wrapper using Python’s re module with patterns r'\b(?:\d{4}[- ]?){3}\d{4}\b' to identify and redact credit card numbers.
  3. C. Implement Model Armor with Sensitive Data Protection to detect and redact PII from the agent’s responses.
  4. D. Use sampled Shapley (SHAP) values to understand the model’s predictions and ensure that it is not biased toward revealing PII.

Làm câu này trên web →