Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon AIP-C01 Exam - Topic 4 Question 2 Discussion

A company is using Amazon Bedrock to build a customer-facing AI assistant that handles sensitive customer inquiries. The company must use defense-in-depth safety controls to block sophisticated prompt injection attacks. The company must keep audit logs of all safety interventions. The AI assistant must have cross-Region failover capabilities.Which solution will meet these requirements?
A) Configure Amazon Bedrock guardrails with content filters set to high to protect against prompt injection attacks. Use a guardrail profile to implement cross-Region guardrail inference. Use Amazon CloudWatch Logs with custom metrics to capture detailed guardrail intervention events.
B) Configure Amazon Bedrock guardrails with content filters set to high. Use AWS WAF to block suspicious inputs. Use AWS CloudTrail to log API calls.
C) Deploy Amazon Comprehend custom classifiers to detect prompt injection attacks. Use Amazon API Gateway request validation. Use CloudWatch Logs to capture intervention events.
D) Configure Amazon Bedrock guardrails with custom content filters and word filters set to high. Configure cross-Region guardrail replication for failover. Store logs in AWS CloudTrail for compliance auditing.

Amazon AIP-C01 Exam - Topic 4 Question 2 Discussion

Actual exam question for Amazon's AIP-C01 exam
Question #: 2
Topic #: 4
[All AIP-C01 Questions]

A company is using Amazon Bedrock to build a customer-facing AI assistant that handles sensitive customer inquiries. The company must use defense-in-depth safety controls to block sophisticated prompt injection attacks. The company must keep audit logs of all safety interventions. The AI assistant must have cross-Region failover capabilities.

Which solution will meet these requirements?

Show Suggested Answer Hide Answer
Suggested Answer: A

Option A provides the most complete, AWS-native defense-in-depth solution for protecting against prompt injection attacks while meeting audit and resiliency requirements. Amazon Bedrock guardrails are designed specifically to enforce safety policies on both user inputs and model outputs, including protections against prompt injection and jailbreak attempts.

Setting content filters to high increases sensitivity to malicious or manipulative inputs. Guardrail profiles allow the same guardrail configuration to be applied consistently across multiple Regions, enabling cross-Region inference and failover without configuration drift. This directly satisfies the requirement for regional resilience.

Amazon CloudWatch Logs captures detailed guardrail intervention events, including when content is blocked, modified, or flagged. Custom metrics derived from these logs enable fine-grained auditing, alerting, and reporting on safety enforcement actions. This provides a more detailed audit trail of safety interventions than API-level logs alone.

Option B adds WAF protection but lacks detailed guardrail intervention logging. Option C introduces additional services and custom logic that increase complexity and may miss model-specific injection patterns. Option D references replication concepts that are not aligned with Bedrock guardrail operational models and relies on word filters, which are insufficient against sophisticated prompt injection techniques.

Therefore, Option A best meets the requirements for layered protection, auditability, and cross-Region resilience using managed Amazon Bedrock safety controls.


Contribute your Thoughts:

0/2000 characters
Clay
24 days ago
D looks good too, but I'm not sure about the custom filters.
upvoted 0 times
...
Esteban
29 days ago
I think B is better because AWS WAF adds an extra layer of security.
upvoted 0 times
...
Eugene
1 month ago
Option A seems solid with high content filters and cross-Region support.
upvoted 0 times
...
Linn
1 month ago
Wait, are we sure these guardrails are enough against sophisticated attacks?
upvoted 0 times
...
Roosevelt
1 month ago
I agree with A, it covers all bases for safety and logging.
upvoted 0 times
...
Rhea
2 months ago
D looks good too, but can we really trust custom filters?
upvoted 0 times
...
Stanford
2 months ago
I think B is better because AWS WAF adds an extra layer of security.
upvoted 0 times
...
Kiley
2 months ago
Option A seems solid with high content filters and cross-Region support.
upvoted 0 times
...
Tatum
2 months ago
I think option D sounds good because it mentions cross-Region replication, but I’m not sure if it covers all the safety controls needed for prompt injection.
upvoted 0 times
...
Sena
2 months ago
I’m a bit confused about the difference between AWS WAF and the guardrails in this context. Wouldn't both be necessary for comprehensive protection?
upvoted 0 times
...
Alaine
3 months ago
This question feels similar to one we practiced where we had to ensure compliance and security with AWS services. I think option A might be the best fit.
upvoted 0 times
...
Malcolm
3 months ago
I remember studying about Amazon Bedrock guardrails, but I'm not entirely sure how they specifically handle prompt injection attacks.
upvoted 0 times
...

Save Cancel