Free Cloud Engineer Interview Prep

Cloud Engineer Interview Questions.

24 practice questions across 19 skills — each with what the interviewer is really listening for. Prepare with intent, not guesswork.

Free · No signup · Grouped by skill

How to use this page

Don't memorise answers. For each question, read what the interviewer is looking for, then practise answering out loud in your own words with a real example. The notes describe strong answers and common red flags — they are for your prep, not a script.

AWS

2 questions
  1. What are the key differences between AWS EC2 and Azure Virtual Machines?

    Basic

    What the interviewer is looking for: A strong answer will compare compute, networking, storage, and management aspects. Red flags include only listing features without comparison or showing a lack of familiarity with one of the platforms.

  2. Explain the concept of an Availability Zone in AWS and how it contributes to high availability.

    Basic

    What the interviewer is looking for: The candidate should define AZs as isolated locations within a region and explain how distributing resources across them prevents single points of failure. A red flag would be confusing AZs with regions or not understanding their isolation.

VPC

1 question
  1. Describe the core components of a Virtual Private Cloud (VPC) in AWS and their interrelationships.

    Intermediate

    What the interviewer is looking for: A good answer will cover CIDR blocks, subnets, route tables, internet gateways, and NAT gateways, explaining how they work together. A red flag is missing key components or not understanding how traffic flows.

Load Balancers

1 question
  1. How do you ensure high availability and scalability for a web application using AWS Load Balancers?

    Intermediate

    What the interviewer is looking for: The candidate should discuss different types of load balancers (ALB, NLB), health checks, target groups, and auto-scaling integration. A red flag is not differentiating between load balancer types or not mentioning health checks.

Terraform

2 questions
  1. What is Infrastructure as Code (IaC), and why is Terraform a popular choice for implementing it?

    Basic

    What the interviewer is looking for: A strong answer defines IaC and highlights Terraform's benefits like multi-cloud support, declarative syntax, state management, and provider ecosystem. A red flag is not understanding the core concept of IaC or only listing features without context.

  2. Explain the purpose of Terraform state files and best practices for managing them.

    Intermediate

    What the interviewer is looking for: The candidate should describe how state files track deployed infrastructure and discuss best practices like remote state, locking, and sensitive data handling. A red flag is not knowing what a state file is or suggesting storing it locally.

IAM

1 question
  1. What are the different types of IAM roles in AWS and when would you use them?

    Intermediate

    What the interviewer is looking for: A good answer will differentiate between roles for EC2 instances, users, cross-account access, and services, explaining the principle of least privilege. A red flag is confusing roles with users or not understanding trust policies.

Azure

1 question
  1. Describe a scenario where you would use an Azure Network Security Group (NSG) and how it differs from an Azure Firewall.

    Intermediate

    What the interviewer is looking for: The candidate should explain NSGs for subnet/NIC-level traffic filtering and Azure Firewall for centralized, network-level protection with advanced features. A red flag is not understanding the scope or capabilities of each.

Cloud Architecture

2 questions
  1. You need to deploy a highly available, fault-tolerant web application. Outline a basic cloud architecture for this on AWS.

    Intermediate

    What the interviewer is looking for: A strong answer will include components like VPC, subnets across AZs, EC2 instances, ALB, Auto Scaling, and a managed database (e.g., RDS Multi-AZ). A red flag is missing key HA/FT components or not considering scalability.

  2. Explain the concept of 'Shared Responsibility Model' in the context of cloud computing.

    Basic

    What the interviewer is looking for: The candidate should clearly define what the cloud provider is responsible for (security OF the cloud) and what the customer is responsible for (security IN the cloud). A red flag is not understanding the distinction.

Linux

1 question
  1. How do you troubleshoot a Linux server that is experiencing high CPU utilization?

    Intermediate

    What the interviewer is looking for: The candidate should mention commands like top, htop, ps, and sar, and discuss steps like identifying processes, checking logs, and analyzing resource usage. A red flag is only suggesting a reboot or not having a structured approach.

Docker

1 question
  1. Explain the concept of a Docker image and a Docker container. How do they relate?

    Basic

    What the interviewer is looking for: A good answer defines an image as a read-only template and a container as a runnable instance of an image, highlighting the immutability of images. A red flag is confusing the two or not understanding their relationship.

Kubernetes

1 question
  1. What are Kubernetes Pods, Deployments, and Services, and how do they work together?

    Intermediate

    What the interviewer is looking for: The candidate should explain Pods as the smallest deployable unit, Deployments for managing Pod lifecycle, and Services for network access to Pods. A red flag is not understanding the hierarchical structure or purpose of each.

CI/CD

1 question
  1. How would you implement a CI/CD pipeline for deploying a web application to AWS EC2 instances?

    Advanced

    What the interviewer is looking for: A strong answer will outline stages like source control, build, test, and deploy, mentioning tools like Jenkins, GitLab CI, or AWS CodePipeline/CodeDeploy. A red flag is only listing tools without explaining the process.

Problem-Solving

1 question
  1. Describe a situation where you had to debug a complex technical issue. What was your approach?

    Intermediate

    What the interviewer is looking for: The candidate should describe a structured approach to problem-solving, including gathering information, isolating variables, testing hypotheses, and documenting findings. A red flag is not having a clear process or blaming external factors.

Security Groups

1 question
  1. What is the purpose of a Security Group in AWS, and how does it differ from a Network ACL?

    Intermediate

    What the interviewer is looking for: A strong answer will explain Security Groups as stateful, instance-level firewalls and Network ACLs as stateless, subnet-level firewalls. A red flag is confusing their scope, statefulness, or rule processing.

CloudWatch

1 question
  1. How can you monitor the performance and health of your AWS resources using CloudWatch?

    Intermediate

    What the interviewer is looking for: The candidate should discuss CloudWatch Metrics, Logs, Alarms, and Dashboards, explaining how they provide visibility and enable proactive responses. A red flag is only mentioning basic metrics without understanding alarms or logs.

Python

1 question
  1. You have a Python script that needs to interact with AWS S3. How would you handle authentication and authorization securely?

    Intermediate

    What the interviewer is looking for: A strong answer will mention using IAM roles (for EC2 instances), temporary credentials, or environment variables, emphasizing avoiding hardcoded credentials. A red flag is suggesting storing AWS keys directly in the script.

Bash

1 question
  1. Write a Bash script to find all files larger than 100MB in a specific directory and its subdirectories.

    Intermediate

    What the interviewer is looking for: The candidate should use commands like 'find' with '-size' and '-exec' or 'xargs'. A red flag is an incorrect syntax, inefficient approach, or not understanding basic shell scripting concepts.

Cost Optimization

1 question
  1. What strategies would you employ to optimize costs for resources running in the cloud?

    Advanced

    What the interviewer is looking for: A good answer will cover rightsizing, reserved instances/savings plans, spot instances, auto-scaling, shutting down idle resources, and leveraging managed services. A red flag is only mentioning one or two strategies.

CloudFormation

1 question
  1. What are the advantages of using CloudFormation over manual resource provisioning in AWS?

    Intermediate

    What the interviewer is looking for: A strong answer will highlight benefits like automation, repeatability, version control, dependency management, and drift detection. A red flag is only mentioning automation without further detail.

Subnets

1 question
  1. What is a subnet, and why is it important to divide a VPC into multiple subnets?

    Basic

    What the interviewer is looking for: The candidate should define a subnet as a range of IP addresses within a VPC and explain its importance for organization, security (via NSGs/Security Groups), and availability (across AZs). A red flag is not understanding IP addressing basics or the purpose of segmentation.

Behavioural & role-general

2 questions
  1. How do you approach learning new cloud services or technologies?

    Intermediate

    What the interviewer is looking for: The candidate should describe a structured learning process, such as reading documentation, hands-on labs, online courses, and building small projects. A red flag is a lack of curiosity or a passive learning approach.

  2. Describe a time you received constructive criticism. How did you respond and what did you learn?

    Intermediate

    What the interviewer is looking for: A strong answer demonstrates self-awareness, an ability to accept feedback gracefully, and a willingness to learn and improve. A red flag is defensiveness, blaming others, or an inability to recall a specific instance.

Before the interview, close the skill gaps first

Upload your resume and see your Cloud Engineer Skill Score, the exact skills you're missing, and a free learning path for each one — so you walk in prepared.