Mock Interview Scenarios
Practice with realistic platform engineering interview scenarios.
Scenario 1: Production Outage
The Situation
You receive a page at 2 AM. The main e-commerce platform is down. Users can't complete purchases. The on-call dashboard shows:
- API response times spiked to 30s
- Database CPU at 100%
- Error rate increased 500%
- Last deployment was 6 hours ago
Your Task
- How would you begin troubleshooting?
- What tools would you use?
- How would you communicate with stakeholders?
- What's your rollback strategy?
- How would you prevent this in the future?
Expected Approach
- Check recent changes and deployments
- Analyze metrics and logs
- Identify root cause systematically
- Implement immediate mitigation
- Create post-mortem process
Scenario 2: Scale Challenge
The Situation
Your company is launching a Super Bowl commercial. Traffic is expected to increase 100x for 4 hours. Current infrastructure:
- 10 API servers
- 1 primary database
- Basic CDN setup
- No auto-scaling
Your Task
- Design scaling strategy
- Identify potential bottlenecks
- Plan for graceful degradation
- Estimate costs
- Create runbook for the event
Key Considerations
- Database read replicas
- Caching strategies
- Queue systems for async processing
- Auto-scaling policies
- Load testing plan
Scenario 3: Migration Project
The Situation
Migrate a monolithic application to microservices on Kubernetes. Current state:
- 500k lines of code
- Single PostgreSQL database
- Deployed on VMs
- 10-person development team
- 99.5% uptime requirement
Your Task
- Create migration strategy
- Define service boundaries
- Plan data migration
- Design CI/CD pipeline
- Ensure zero downtime
Approach Elements
- Strangler fig pattern
- Database decomposition
- Service mesh implementation
- Progressive rollout
- Monitoring strategy
Scenario 4: Security Incident
The Situation
Security team discovered:
- Exposed S3 bucket with customer data
- Suspicious API activity
- Potential credential compromise
- No audit logs for 30 days
Your Task
- Immediate response actions
- Investigation approach
- Communication plan
- Remediation steps
- Future prevention measures
Critical Actions
- Isolate compromised resources
- Rotate all credentials
- Enable comprehensive logging
- Implement least privilege
- Security scanning automation
Scenario 5: Cost Optimization
The Situation
Monthly cloud bill increased 300% in 6 months:
- Current spend: $150,000/month
- No cost allocation tags
- Unknown resource ownership
- Overprovisioned instances
- No reserved instances
Your Task
- Analyze current spending
- Identify quick wins
- Long-term optimization plan
- Implement cost controls
- Create reporting dashboard
Optimization Areas
- Right-sizing instances
- Reserved instance planning
- Spot instance usage
- Storage lifecycle policies
- Unused resource cleanup
Scenario 6: Platform Design
The Situation
Build internal developer platform for 200 engineers:
- Multiple programming languages
- Various deployment targets
- Compliance requirements
- Self-service needs
- Limited platform team (5 people)
Your Task
- Define platform capabilities
- Choose technology stack
- Design onboarding process
- Plan governance model
- Create success metrics
Platform Components
- Service catalog
- CI/CD templates
- Monitoring/logging
- Cost tracking
- Security scanning
Scenario 7: Disaster Recovery
The Situation
Design DR strategy for critical payment system:
- Process $10M daily
- Current RTO: 24 hours
- Required RTO: 1 hour
- Required RPO: 5 minutes
- Budget: $500k annually
Your Task
- Assess current state
- Design DR architecture
- Create testing plan
- Document procedures
- Train team members
DR Elements
- Multi-region deployment
- Database replication
- Automated failover
- Regular DR drills
- Runbook automation
Scenario 8: Team Leadership
The Situation
You inherit a struggling platform team:
- Low morale
- No documentation
- Frequent outages
- Siloed knowledge
- Resistance to change
Your Task
- Assess team dynamics
- Create improvement plan
- Build team culture
- Implement best practices
- Measure progress
Leadership Actions
- 1-on-1 meetings
- Skills assessment
- Training programs
- Process improvements
- Recognition systems
Practice Tips
Before the Mock
- Research company context
- Review fundamentals
- Prepare questions
- Practice whiteboarding
- Time management
During the Mock
- Think aloud
- Ask clarifying questions
- Consider trade-offs
- Show technical depth
- Demonstrate soft skills
After the Mock
- Request feedback
- Identify gaps
- Practice weak areas
- Refine approach
- Build confidence