Object Storage (S3, GCS) CDN (Cloudflare, Akamai) Flashcards

(31 cards)

1
Q

What is object storage?

A

Object storage is a data storage architecture that manages data as objects rather than as files or blocks, suitable for storing large amounts of unstructured data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Amazon S3?

A

Amazon S3 (Simple Storage Service) is an object storage service by AWS designed for scalable, durable, and secure data storage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Google Cloud Storage (GCS)?

A

Google Cloud Storage is a unified object storage service by Google Cloud for storing large amounts of data with global availability and built-in redundancy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the advantages of object storage?

A

Advantages include virtually unlimited scalability, cost-effectiveness, high durability, and metadata tagging.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the disadvantages of object storage?

A

Disadvantages include higher latency compared to file/block storage and less suitability for high-performance transactional workloads.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are best practices for object storage?

A

Use lifecycle policies, versioning, appropriate storage classes, and enforce access control policies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are common use cases for object storage?

A

Use cases include backups, media content, log storage, big data analytics, and static web hosting.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does object storage impact system design?

A

It simplifies storage for unstructured data, decouples compute from storage, and allows horizontal scaling.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Give an example of object storage usage.

A

Storing user-uploaded images or videos in S3 for a photo-sharing application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the architectural implications of using object storage?

A

Applications must handle eventual consistency, and direct file system operations are not possible.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does object storage affect performance and fault tolerance?

A

Offers high durability and availability but has higher latency compared to local or block storage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do you monitor and debug object storage?

A

Track request metrics, error rates, latency, bucket policies, and access logs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are real-world tradeoffs of using object storage?

A

Tradeoffs include lower cost and high durability at the expense of access speed and transactional support.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a common interview question about object storage?

A

How would you design a video-sharing platform’s storage layer using S3 or GCS?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a potential gotcha in using object storage?

A

Assuming strong consistency or low latency can cause application bugs and performance issues.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is a CDN?

A

A Content Delivery Network (CDN) is a geographically distributed network of servers that caches and delivers content closer to end users to reduce latency.

18
Q

What is Cloudflare?

A

Cloudflare is a CDN and security provider offering services like DDoS protection, DNS, and edge caching.

19
Q

What is Akamai?

A

Akamai is a global CDN provider known for delivering media, software downloads, and accelerating dynamic and static content.

20
Q

What are the advantages of using a CDN?

A

Advantages include reduced latency, improved content availability, DDoS protection, and better user experience.

21
Q

What are the disadvantages of using a CDN?

A

Disadvantages include potential cache staleness, added cost, and complexity in cache invalidation.

22
Q

What are best practices when using a CDN?

A

Define proper caching headers, use versioned URLs, monitor cache hit ratios, and secure edge nodes.

23
Q

What are common use cases for CDNs?

A

Use cases include serving static assets (images, CSS, JS), video streaming, API acceleration, and software distribution.

24
Q

How does a CDN impact system design?

A

It offloads traffic from origin servers, reduces response times, and enhances scalability.

25
Give a real-world example of CDN usage.
Delivering website assets like images and CSS via Cloudflare to improve global load times.
26
What are architectural implications of using a CDN?
You must plan for cache invalidation, edge-server logic, and possible inconsistent state between edge and origin.
27
How do CDNs impact performance and fault tolerance?
CDNs improve load times by caching at the edge and offer fault tolerance by distributing requests to the nearest healthy node.
28
How do you monitor and debug CDNs?
Use tools to monitor cache hit rates, request origin vs edge latency, and HTTP response status codes.
29
What are real-world tradeoffs of using CDNs?
You trade off complexity and potential cache staleness for global reach and improved speed.
30
What is a common interview question about CDNs?
How would you design a global image hosting platform using a CDN?
31
What is a potential gotcha in using a CDN?
Incorrect cache control headers can result in stale or non-cached content, hurting performance.