SynfraCore
Synfracore
Start Learning
Navigation

Academies

Platform

RoadmapsLabsCertificationsInterviewPYQsAI AssistantCareer
Start Learning Free🗺️ Learning Roadmaps

S3Interview Q&A

Most asked interview questions with detailed answers

💬
Verified by practitioners with 5+ years production experience· Updated 2025 · SynfraCore S3 Team
Expert Content

AWS S3 Interview Questions

Core Concepts

Q: What is S3? Explain storage classes.

S3 is AWS's object storage — unlimited capacity, 99.999999999% (11 nines) durability.

Storage ClassUse CaseRetrievalCost

|---|---|---|---|

S3 StandardFrequently accessedInstantHighest
S3 Intelligent-TieringUnknown/changing accessInstantAuto-optimises
S3 Standard-IAInfrequent accessInstantLower storage, retrieval fee
S3 One Zone-IAInfrequent, single AZInstant20% cheaper than IA
S3 Glacier InstantArchive, accessed quarterlyInstantCheap
S3 Glacier FlexibleArchive, retrieved in hours1-12 hrsVery cheap
S3 Glacier Deep ArchiveLong-term archive12-48 hrsCheapest

Lifecycle policies automate transition between classes.


Q: S3 security — how do you secure a bucket?

1.Block Public Access (enabled by default) — prevents accidental public exposure
2.Bucket Policy — resource-based policy attached to bucket
3.IAM Policy — identity-based, who can access
4.ACLs — legacy, avoid for new buckets
5.S3 Object Ownership — enforce bucket owner owns all objects
6.Encryption: SSE-S3 (AWS managed), SSE-KMS (customer managed keys), SSE-C (customer provides key), client-side
json
// Bucket policy: enforce HTTPS only
{
  "Effect": "Deny",
  "Principal": "*",
  "Action": "s3:*",
  "Resource": "arn:aws:s3:::my-bucket/*",
  "Condition": {"Bool": {"aws:SecureTransport": "false"}}
}

Q: S3 replication — CRR vs SRR?

CRR (Cross-Region Replication): Replicate objects to a bucket in another region. Use for DR, latency, compliance.

SRR (Same-Region Replication): Replicate within same region. Use for log aggregation, test/prod data sync.

Requirements: Versioning must be enabled on both source and destination.


Q: S3 performance optimisation.

Multipart upload: For objects >100MB. Upload in parallel parts. Required for >5GB.
Transfer Acceleration: Routes through CloudFront edge locations for faster uploads from geographically distant clients.
Prefix sharding: S3 scales to 3,500 PUT/5,500 GET per prefix. Add random prefixes for high-throughput workloads.
S3 Select: Query CSV/JSON data in S3 without downloading entire object (SQL-like).

Revision Notes

S3: object storage, 11 nines durability, unlimited capacity
STORAGE CLASSES: Standard → IA → Glacier (cost drops, retrieval time increases)
Lifecycle policies automate transitions
SECURITY: Block Public Access + Bucket Policy + IAM + Encryption
SSE-S3 (default) | SSE-KMS (audit trail) | SSE-C (you manage key)
REPLICATION: CRR (cross-region DR) | SRR (same region log agg) — needs versioning
PERFORMANCE: Multipart (>100MB) | Transfer Accel | Prefix sharding | S3 Select
Share:
Join our Community
Daily tips, job alerts, interview help — join engineers learning together
Quick Check — S3
1 / 2

What is the most important concept to understand about S3 for interviews?

Up Next
🔧
S3Troubleshooting
Debug real production issues
Also Worth Exploring
← Back to all S3 modules
ProjectsTroubleshooting