DevOps Online Assessment Questions & Answers
40 questions for the online assessment stage — 18 easy, 22 medium.
About the online assessment round
Most companies start with an online test: aptitude and reasoning, a few MCQs on core DevOps concepts, and one or two short hands-on tasks. It filters a large number of applicants, so speed and accuracy both count.
Tips for the online assessment round
- Practise under a timer: about one minute per MCQ and 15-20 minutes per hands-on task.
- Read every option before answering; tests often include two nearly correct choices.
- Use a stable internet connection, keep your camera on and avoid switching tabs in proctored tests.
- Attempt the questions you are sure about first, then return to the harder ones.
How do you manage a service with systemd?
Show answer
Explain Docker network types.
Show answer
What is Infrastructure as Code and what are its benefits?
Show answer
Write an IAM policy that gives read-only access to one S3 bucket.
Show answer
Which Docker commands do you use to debug a running container?
Show answer
What is a DaemonSet and when is it used?
Show answer
What is remote state and state locking in Terraform?
Show answer
Your app fails to start with 'address already in use' on port 8080. What do you do?
Show answer
What is an artefact repository and why is it used?
Show answer
Write a Prometheus alerting rule for a high error rate.
Show answer
Write an Ansible playbook to install and start nginx.
Show answer
Explain the Kubernetes Service types ClusterIP, NodePort and LoadBalancer.
Show answer
What is Helm and what are its basic commands?
Show answer
How do you undo the last commit but keep the changes?
Show answer
How do you configure Prometheus to scrape a target?
Show answer
What is the difference between git merge and git rebase?
Show answer
Write a multi-stage Dockerfile for a Java Spring Boot application.
Show answer
How much downtime does a 99.9 percent availability SLO allow?
Show answer
How does the Horizontal Pod Autoscaler work?
Show answer
What is a webhook and how does it trigger a build?
Show answer
The application cannot connect to an RDS database. What do you check?
Show answer
What is the Terraform state file and why is it important?
Show answer
You need to bring existing manually created cloud resources under Terraform. How?
Show answer
Write a Deployment manifest with 3 replicas, resource limits and a readiness probe.
Show answer
Compare blue-green, canary and rolling deployments.
Show answer
What is a detached HEAD state in Git?
Show answer
What is the difference between git revert and git reset?
Show answer
Write a GitHub Actions workflow that runs tests on every pull request.
Show answer
What are the typical stages of a CI/CD pipeline?
Show answer
How do you create a release tag and push it?
Show answer
What is the difference between continuous integration, continuous delivery and continuous deployment?
Show answer
Write a Docker Compose file for a web app with a PostgreSQL database.
Show answer
How do you create a new branch, push it and set the upstream?
Show answer
What is git stash and when do you use it?
Show answer
What are Ansible roles?
Show answer
What is the difference between a ConfigMap and a Secret?
Show answer
A pod is stuck in Pending state. What could be the reasons?
Show answer
How do you run a matrix build in GitHub Actions?
Show answer
Write a script that alerts when any disk partition is above 80 percent used.
Show answer
Frequently asked questions
What happens in the DevOps online assessment round?
Most companies start with an online test: aptitude and reasoning, a few MCQs on core DevOps concepts, and one or two short hands-on tasks. It filters a large number of applicants, so speed and accuracy both count.
How do I clear the online assessment round?
Practise under a timer: about one minute per MCQ and 15-20 minutes per hands-on task. Read every option before answering; tests often include two nearly correct choices. Use a stable internet connection, keep your camera on and avoid switching tabs in proctored tests.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.