Interview Prep/AWS/S3, RDS and DynamoDB

Share a private S3 object with an external customer for one hour. How?

IntermediateScenarioS3, RDS and DynamoDB
Answer

Situation read → Use a presigned URL.

What I'd do →

  1. Generate: aws s3 presign s3://bucket/report.pdf --expires-in 3600
  2. Sign with a role whose credentials outlive the URL (role session expiry caps URL life)
  3. For uploads use a presigned PUT or POST policy with size limits
  4. Log access with S3 server access logs or CloudTrail data events

Why → The URL carries the signer's permissions temporarily without making the object public.

Interview tip → URLs signed with temporary credentials die when those credentials expire.

aws All AWS questions Roadmap: AWS core services

More on S3, RDS and DynamoDB