PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/System Design/Salesforce

Design cloud & k8s architecture

Last updated: Mar 29, 2026

Quick Overview

This interview question evaluates requirements, scale assumptions, API/data design, architecture, trade-offs, failure modes, and rollout in a realistic interview setting. A strong answer for Design cloud & k8s architecture states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  • hard
  • Salesforce
  • System Design
  • Software Engineer

Design cloud & k8s architecture

Company: Salesforce

Role: Software Engineer

Category: System Design

Difficulty: hard

Interview Round: Technical Screen

##### Question Explain the architecture of Kubernetes, including control plane (master) and worker nodes. List and explain key kubectl commands you use to troubleshoot a cluster. Compare core computing and testing services between GCP and AWS. How would you design a secure CI/CD pipeline in a public cloud environment?

Quick Answer: This interview question evaluates requirements, scale assumptions, API/data design, architecture, trade-offs, failure modes, and rollout in a realistic interview setting. A strong answer for Design cloud & k8s architecture states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

Related Interview Questions

  • Design a TikTok-like short video platform - Salesforce (medium)
  • Design a configurable monthly API rate limiter - Salesforce (medium)
  • Design a scalable coffee ordering notification system - Salesforce (medium)
  • Design a pipeline orchestration system on Kubernetes - Salesforce (medium)
  • Design an async job system and cache layer - Salesforce (hard)
|Home/System Design/Salesforce

Design cloud & k8s architecture

Salesforce logo
Salesforce
Aug 4, 2025, 10:55 AM
hardSoftware EngineerTechnical ScreenSystem Design
25
0

Design cloud & k8s architecture

Technical Screen: Kubernetes, Cloud Services, and Secure CI/CD

Context

You are designing and operating services on Kubernetes in a public cloud. Answer the following to demonstrate understanding of cluster architecture, troubleshooting with kubectl, cloud service mappings across providers, and secure CI/CD design.

Tasks

  1. Kubernetes Architecture
  • Explain the high-level architecture of a Kubernetes cluster.
  • Describe control plane (master) components and worker node components, including their responsibilities and how they interact.
  1. kubectl Troubleshooting
  • List key kubectl commands, flags, and patterns you use to debug cluster issues (nodes, pods, services, networking, rollouts). Include brief explanations and examples.
  1. GCP vs AWS Core Services
  • Compare core computing and testing/CI services between Google Cloud Platform (GCP) and Amazon Web Services (AWS). Map common equivalents (VMs, managed Kubernetes, containers, serverless, build/test/deploy, artifact registries, security scanning).
  1. Secure CI/CD Design in Public Cloud
  • Propose a secure CI/CD pipeline architecture suitable for deploying to Kubernetes in a public cloud.
  • Cover: identity and access, secrets, artifact management and signing, build isolation, policy enforcement, environment segregation, deployment strategies, observability, and guardrails.

Constraints & Assumptions

  • Preserve the scope, facts, inputs, and requested outputs from the prompt above.
  • If the prompt leaves a detail unspecified, state a reasonable assumption before relying on it.
  • Keep the answer interview-ready: concise enough to present, but concrete enough to implement or evaluate.

Clarifying Questions to Ask

  • Clarify users, core use cases, read/write patterns, scale, latency, availability, and data retention.
  • State explicit assumptions before making sizing or architecture decisions.
  • Prioritize the functional path first, then address reliability, security, observability, and rollout.

What a Strong Answer Covers

  • A scoped requirements summary with concrete non-goals and success metrics.
  • API, data model, architecture, consistency, capacity, and operations.
  • Reasoned trade-offs among simple and scalable designs, including bottlenecks and failure modes.
  • A validation, monitoring, migration, and launch plan appropriate for the risk level.

Follow-up Questions

  • What breaks first at 10x traffic or data volume?
  • How would you degrade gracefully during dependency failures?
  • What metrics and alerts would prove the design is healthy after launch?

Submit Your Answer to Earn 20XP

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

Your design canvas — auto-saved

PracHub

Master your tech interviews with 8,000+ 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
  • AI Coding 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.