Cloud Native Security
medium

Pregunta de Cloud Native Security #019e3a4f

Enunciado de la Pregunta
Cloud Native Security
#cloud native
#security
#4cs
#defense in depth
Medio

What is the order of 4C’s in Cloud Native Security, starting with the layer that a user has the most control over?

A

Cloud -> Container -> Cluster -> Code

B

Container -> Cluster -> Code -> Cloud

C

Cluster -> Container -> Code -> Cloud

D

Code -> Container -> Cluster -> Cloud

Correcto

Explicación Oficial / Explicaciones de la Comunidad

The 4C's of Cloud Native Security, as defined by the CNCF, represent four layers of security: Cloud, Cluster, Container, and Code. The order starts from the layer where the user has the most control and moves outward. Users have the most control over their own code, then the container configuration, then the cluster, and finally the cloud infrastructure. Therefore, the correct order is Code -> Container -> Cluster -> Cloud.

How it Works

  • Code: This is the application code written by developers. Security at this layer includes secure coding practices, static analysis, and dependency scanning. Users have full control over their code.
  • Container: This layer includes the container image, runtime, and registry. Security measures include image scanning, minimal base images, and runtime security. Users control container configurations.
  • Cluster: This layer encompasses the orchestration platform (e.g., Kubernetes). Security involves RBAC, network policies, pod security policies, and admission controllers. Users have significant control but share responsibility with the platform.
  • Cloud: This is the underlying cloud provider infrastructure (e.g., AWS, Azure, GCP). Security includes network security, IAM, and data encryption. Users have the least control here, relying on the provider's security.

Why the Correct Order is Right

The correct order (Code -> Container -> Cluster -> Cloud) reflects decreasing user control. Starting from code, where developers have full authority, to the cloud, where the provider manages most security. This layered approach ensures defense in depth, with each layer adding security controls.

Why the Incorrect Orders are Wrong

  • Starting with Cloud (e.g., Cloud -> Container -> Cluster -> Code) is incorrect because users have the least control over the cloud layer, not the most.
  • Starting with Container (e.g., Container -> Cluster -> Code -> Cloud) places container before code, but users have more control over code than containers.
  • Starting with Cluster (e.g., Cluster -> Container -> Code -> Cloud) similarly misorders the layers, as code is more controllable than cluster.

The 4C's model emphasizes that security must be implemented at every layer, but the order of control is crucial for understanding where to focus efforts.