PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/System Design/Salesforce

Design secure Kubernetes with CI/CD

Last updated: Mar 29, 2026

Quick Overview

This question evaluates expertise in Kubernetes architecture, cluster operations and troubleshooting, security hardening, and CI/CD pipeline design for managed Kubernetes clusters, covering control plane and node responsibilities, incident diagnosis, access and network policies, secret management, image integrity, and progressive delivery mechanisms. It is commonly asked to assess operational and security judgment and design thinking, testing both conceptual understanding of distributed control and security models and practical application in real-world CI/CD and incident-response scenarios within the System Design domain.

  • hard
  • Salesforce
  • System Design
  • Software Engineer

Design secure Kubernetes with CI/CD

Company: Salesforce

Role: Software Engineer

Category: System Design

Difficulty: hard

Interview Round: Technical Screen

Describe Kubernetes control plane components (API server, scheduler, controller manager, etcd) and worker node responsibilities (kubelet, kube-proxy, CRI/CNI). Given a rollout stuck in CrashLoopBackOff, walk through the kubectl commands and signals you would inspect to diagnose and fix it. Propose a security hardening plan (RBAC, least privilege, NetworkPolicy, Secrets with KMS, pod security standards, image scanning, admission controls) and an end-to-end CI/CD pipeline for GKE/EKS that supports canary releases and rollbacks.

Quick Answer: This question evaluates expertise in Kubernetes architecture, cluster operations and troubleshooting, security hardening, and CI/CD pipeline design for managed Kubernetes clusters, covering control plane and node responsibilities, incident diagnosis, access and network policies, secret management, image integrity, and progressive delivery mechanisms. It is commonly asked to assess operational and security judgment and design thinking, testing both conceptual understanding of distributed control and security models and practical application in real-world CI/CD and incident-response scenarios within the System Design domain.

Related Interview Questions

  • Design a TikTok-like short video platform - Salesforce (medium)
  • Design a scalable coffee ordering notification system - Salesforce (medium)
  • Design a configurable monthly API rate limiter - Salesforce (medium)
  • Design a pipeline orchestration system on Kubernetes - Salesforce (medium)
  • Design an async job system and cache layer - Salesforce (hard)
Salesforce logo
Salesforce
Sep 6, 2025, 12:00 AM
Software Engineer
Technical Screen
System Design
1
0

Kubernetes Architecture, Troubleshooting, Security, and CI/CD (GKE/EKS)

Context: You are the on-call software engineer for a managed Kubernetes cluster (GKE or EKS). Answer the following sections concisely and practically as if in a technical screen.

1) Control Plane Components

Describe the purpose and responsibilities of these components:

  • API server
  • Scheduler
  • Controller manager
  • etcd

2) Worker Node Responsibilities

Explain what runs on worker nodes and the role of each:

  • kubelet
  • kube-proxy
  • CRI (container runtime)
  • CNI (networking)

3) CrashLoopBackOff Diagnosis and Fix

A Deployment rollout is stuck with Pods in CrashLoopBackOff. Walk through the kubectl commands you would run and the key signals you would inspect to identify root cause and fix it.

4) Security Hardening Plan

Propose a practical hardening plan covering:

  • RBAC and least privilege for humans and services
  • NetworkPolicy (ingress and egress)
  • Secrets at rest with KMS and runtime access
  • Pod security standards and securityContext defaults
  • Image scanning and supply-chain integrity
  • Admission controls and policy enforcement

5) CI/CD for GKE/EKS with Canary and Rollbacks

Design an end-to-end pipeline (tools are your choice) that:

  • Builds, tests, scans, signs, and deploys images/manifests
  • Performs progressive delivery (canary) with automatic or manual promotion
  • Supports rapid, safe rollback

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Salesforce•More Software Engineer•Salesforce Software Engineer•Salesforce System Design•Software Engineer System Design
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.