Cloud Service and Deployment Models Questions
The foundational service models (IaaS, PaaS, SaaS, FaaS) and deployment models (public, private, hybrid, community cloud) and when each is appropriate. Covers the shared-responsibility boundary, on-demand elasticity, the core value proposition of cloud versus on-premises, and how service-model choice shifts operational ownership. The conceptual entry point before any provider-specific or architectural depth.
How do you manage credentials and secrets used by data-science workloads in the cloud? Describe a pattern you used that included service accounts or IAM roles, secrets management (for example AWS Secrets Manager, Azure Key Vault, GCP Secret Manager), key rotation, and audit logging. How did you ensure least-privilege and avoid embedding secrets in code or notebooks?
Compare serverless functions (e.g., AWS Lambda, GCP Cloud Functions) versus container-based deployments on Kubernetes (EKS/GKE/AKS) for serving ML models. Discuss cold-starts, concurrency limits, model size limits, latency characteristics, state management, operational complexity, and cost behavior at low and high traffic volumes. Provide recommendations for small batch inference and for serving large transformer models.
Explain the differences between object storage, block storage, and file storage on cloud platforms. For each storage type give concrete service examples (for example AWS S3 vs EBS vs EFS or GCP Cloud Storage vs Persistent Disks vs Filestore), typical data-science use cases, performance characteristics, common cost implications, and one scenario where you would choose that storage type over the others.
As a data scientist, what day-to-day and project-level practices did you apply to control cloud cost? Include examples such as instance rightsizing, using spot/preemptible instances, storage lifecycle rules, query optimization techniques (for example partitioning or caching), and tagging for cost allocation. Quantify any cost savings you achieved when possible.
Traffic suddenly spikes 10x. As the data scientist who owns the serving system, explain what you would do in the first 60 minutes to sustain availability while limiting cost. Include short-term autoscaling and capacity adjustments, temporary throttling or queuing, feature gating or graceful degradation options, how to use cached responses, and how to coordinate with SRE and product stakeholders.
Unlock Full Question Bank
Get access to all 36 Cloud Service and Deployment Models interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.