Compare GCP vs AWS and testing strategy

Quick Overview

This question evaluates a candidate's understanding of public cloud architecture, including compute models (virtual machines, containers, serverless), storage and networking building blocks, testing and deployment strategies, and trade-offs around portability and vendor lock-in within the System Design domain.

Compare GCP vs AWS and testing strategy

Company: Salesforce

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Technical Screen

Explain the core building blocks of a public cloud (compute models—VMs, containers, serverless—plus storage and networking). Given a new microservice, choose among these compute options and justify the trade-offs. Outline a cloud testing strategy (unit, integration, load, chaos, canary/blue‑green). Compare roughly equivalent services in GCP and AWS for this workload, and discuss portability, interoperability, and vendor lock‑in.

Quick Answer: This question evaluates a candidate's understanding of public cloud architecture, including compute models (virtual machines, containers, serverless), storage and networking building blocks, testing and deployment strategies, and trade-offs around portability and vendor lock-in within the System Design domain.

|Home/System Design/Salesforce
Salesforce logo
Salesforce
Sep 6, 2025, 12:00 AM
mediumSoftware EngineerTechnical ScreenSystem Design
3
0

Public Cloud Building Blocks, Compute Choice, and Testing Strategy

Context

Assume you are designing a new stateless HTTP microservice that exposes REST or gRPC endpoints. It will have spiky traffic (for example, a 10x burst during peak hours), aims for 99.9 percent availability, p95 latency under 150 ms, and should be easy to operate by a small team. If your answer depends on different constraints, state how the choice would change.

Tasks

  1. Explain the core building blocks of a public cloud:
    • Compute models: virtual machines, containers, serverless
    • Storage: object, block, file, databases, cache
    • Networking: VPC, subnets, routing, load balancing, API gateway, DNS, security
  2. For the new microservice above, choose among compute options and justify the trade offs. Include when you would pick a different option.
  3. Outline a pragmatic cloud testing strategy covering unit, integration, load and performance, chaos, and delivery strategies such as canary and blue green deployments.
  4. Map roughly equivalent services in GCP and AWS for this workload, and discuss portability, interoperability, and vendor lock in. Provide concrete tactics to reduce lock in and note the trade offs.

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...