Weekend Sale Special Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

Amazon Web Services AWS Certified Generative AI Developer - Professional AIP-C01 Question # 39 Topic 4 Discussion

Amazon Web Services AWS Certified Generative AI Developer - Professional AIP-C01 Question # 39 Topic 4 Discussion

AIP-C01 Exam Topic 4 Question 39 Discussion:
Question #: 39
Topic #: 4

A company provides a GenAI application that uses Amazon Bedrock to customers. The application accepts untrusted user inputs. The company observes that some users attempt to bypass system instructions by using prompt injection and jailbreak techniques. The company needs a solution to protect the application from malicious actors.

The solution must meet the following requirements:

• Detect and mitigate adversarial user inputs before the application invokes the model.

• Enforce consistent safety controls during model inference.

• Prevent the application from returning unsafe or manipulated outputs to users.

• Use managed AWS services where possible to minimize the need for custom security logic.

Which solution will meet these requirements?


A.

Use AWS Lambda functions to sanitize user inputs. Apply Amazon Bedrock Guardrails during model inference. Validate outputs before returning responses.


B.

Use carefully engineered system prompts to discourage prompt injection and jailbreak attempts during model interactions.


C.

Restrict access to the application by using IAM authentication. Assume authenticated users will not submit adversarial inputs.


D.

Log all prompts and responses to Amazon S3. Query the prompts and responses periodically to identify adversarial behavior.


Get Premium AIP-C01 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.