DevOps Bar Raiser Interview - Albertsons
Summary
I attended a DevOps Bar Raiser interview at Albertsons where I was asked a range of scripting, cloud, and operational questions.
Full Experience
- Write a python script(decorator) that retries a function up to 3 times if it raises an exception.
- Write a bash script to archive logs older than 7 days.
- A query taking unnecessary time to find email, how to prevent it. Follow up - how to create an index for the same
- A pod went to CrashLoopBackOff , how to mitigate it.
- Azure CLI to create a resource group in specific location(us-east) and create a storage account with name "Demo" in hottier.
- How to design a highly available application in Azure?
- There is a 5x traffic to be expected on a specific occasion on website, what steps as a devops engineer you need to take to make sure systems are reliable and scalable.
- Generally on normal days 5k requests come and hit the website but from last few days, the requests are dropped down to 4k - how you will find the root cause for this?
- Your application is using AKS - the data needs to be persisted. what you will do to achieve the same?
- There is a 3 tier web application deployed on azure. how you make sure the application is monitored properly (name services which you will use to achieve the same)
- Explain the process workflow of pipeline from developer commit till release.
- What release strategy do you use in your organization. Follow up - Suppose blue green deployment is the strategy, green deployment was successful but blue deployment stucks - what steps you will take to mitigate it
- Jenkins release pipeline failed at 90%, how you will resolve it considering release window deadline.
- How you enable tagging to Jenkins pipeline and in case of rollback to previous tag, what command is used.
- Explain queue-based system. Secanrio - You might see an unnecessarily high number of queues, how to design autoscaling correctly to avoid that problem.
- How to configure a Kubernetes HPA (Horizontal Pod Autoscaler) to scale when CPU utilization is greater than 70%
Interview Questions (16)
Python decorator for retry
Write a python script (decorator) that retries a function up to 3 times if it raises an exception.
Bash script to archive logs
Write a bash script to archive logs older than 7 days.
Optimizing email query and indexing
A query taking unnecessary time to find email, how to prevent it. Follow up - how to create an index for the same.
Mitigating CrashLoopBackOff pod
A pod went to CrashLoopBackOff, how to mitigate it.
Azure CLI to create resource group and storage account
Azure CLI to create a resource group in specific location (us-east) and create a storage account with name "Demo" in hottier.
Design highly available application in Azure
How to design a highly available application in Azure?
Handling 5x traffic spike
There is a 5x traffic to be expected on a specific occasion on website, what steps as a devops engineer you need to take to make sure systems are reliable and scalable.
Investigating drop in request volume
Generally on normal days 5k requests come and hit the website but from last few days, the requests are dropped down to 4k - how you will find the root cause for this?
Persisting data in AKS
Your application is using AKS - the data needs to be persisted. What you will do to achieve the same?
Monitoring 3-tier Azure web application
There is a 3 tier web application deployed on azure. How you make sure the application is monitored properly (name services which you will use to achieve the same).
Explain CI/CD pipeline workflow
Explain the process workflow of pipeline from developer commit till release.
Blue‑green deployment issue handling
What release strategy do you use in your organization. Follow up - Suppose blue green deployment is the strategy, green deployment was successful but blue deployment stucks - what steps you will take to mitigate it.
Resolving Jenkins pipeline failure at 90%
Jenkins release pipeline failed at 90%, how you will resolve it considering release window deadline.
Tagging and rollback in Jenkins pipeline
How you enable tagging to Jenkins pipeline and in case of rollback to previous tag, what command is used.
Autoscaling queue‑based system
Explain queue-based system. Scenario - You might see an unnecessarily high number of queues, how to design autoscaling correctly to avoid that problem.
Configure Kubernetes HPA for CPU >70%
How to configure a Kubernetes HPA (Horizontal Pod Autoscaler) to scale when CPU utilization is greater than 70%.