A company wants to ensure that only requests with specific source IP ranges can access an S3 bucket. Where can you implement this restriction?
Answer
S3 bucket policy with a condition on aws:SourceIp
Explanation
Bucket policies can restrict access by IP using condition keys like aws:SourceIp, allowing fine-grained control at the bucket level.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A production workload must be updated with minimal downtime. Which deployment strategy can help shift traffic gradually to a new version?
View question →
Read the scenario and choose the best troubleshooting action.
View question →
You need to troubleshoot intermittent access failures to an Application Load Balancer. Which CloudWatch feature can help correlate ALB request errors to target health metrics?
View question →
Which AWS service can provide managed server patching and automated updates for EC2 instances using Systems Manager?
View question →
A SysOps admin needs to manage container orchestration and scaling without manually managing underlying EC2 capacity. Which AWS service fits this requirement?
View question →
An engineer uses AWS Backup to protect data from accidental deletions. What backup feature helps ensure you can restore even if a user deletes a backup?
View question →