part4 Flashcards
have you deployed any cluster managed by AWS? please explain ?
for production, we AWS EKS cluster and if there is a need for staging environment to have a cluster, we leverage Kops.
what are load balancers in AWS, briefly explain which one you have used.
Load Balancers distribute incoming traffic across multiple targets, such as EC2 instances, containers, or Lambda functions, to ensure high availability and fault tolerance.
I used ALB in a project where it routed traffic to EC2 instances based on path-based rules. For example, API traffic (/api) was directed to a backend service, while static content (/static) was served from another.
have you used SonarQube ? if yes share why it is important.
- Yes, I have used SonarQube in my projects. It’s an open-source platform for continuous code quality inspection. It helps detect bugs, vulnerabilities, code smells, and maintainability issues in codebases
- In one of my projects, we integrated SonarQube into our Jenkins CI pipeline. Every time a developer pushed code to the repository, the pipeline ran a SonarQube scan to analyze the code for bugs, vulnerabilities, and maintainability issues.
how do you handle incidents in your team?
we set up alert rules from monitoring systems, if anything happens the on call engineer gets a phone call or email. then we go back and figure out what happened and how to prevent it from happening in the future.
How do you validate a variable file in terraform ?
we can use a validation block in which we mention the conditions that have to be met during the plan phase.
explain CMD and entry point in docker, are they the same or different ?
- Entrypoint [“echo” “hello”]
- CMD [“echo” “hello’]
- CMD[“echo”]
Entrypoint [“hello”]
multiple EC2 instances in ASG are getting terminated how do you debug this issue ?
- run the top command to see cpu utilization
- ## run a free -m to see the memory left
what is terraform state lock .
state locking is a mechanism that prevents multiple processes or users from simultaneously making changes to the same state file
How do you enable notification for job success or failure in Jenkins ?
As a main communication tool, i have used slack.
- First find out if there is a plugin that needs to be installed
- Then configure the pipeline accordingly to send notifications on failure or success.
what do you think is the future towards your DevOps journey ?
There are some technologies that i am not very competent in, and i look forward in solidifying my knowledge on them, and keep on learning. Work closely with my seniors and implement some of these technologies whhere needed.