part4 Flashcards

1
Q

have you deployed any cluster managed by AWS? please explain ?

A

for production, we AWS EKS cluster and if there is a need for staging environment to have a cluster, we leverage Kops.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what are load balancers in AWS, briefly explain which one you have used.

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

have you used SonarQube ? if yes share why it is important.

A
  • 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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

how do you handle incidents in your team?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you validate a variable file in terraform ?

A

we can use a validation block in which we mention the conditions that have to be met during the plan phase.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

explain CMD and entry point in docker, are they the same or different ?

A
  • Entrypoint [“echo” “hello”]
  • CMD [“echo” “hello’]
  • CMD[“echo”]
    Entrypoint [“hello”]
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

multiple EC2 instances in ASG are getting terminated how do you debug this issue ?

A
  • run the top command to see cpu utilization
  • ## run a free -m to see the memory left
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is terraform state lock .

A

state locking is a mechanism that prevents multiple processes or users from simultaneously making changes to the same state file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you enable notification for job success or failure in Jenkins ?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what do you think is the future towards your DevOps journey ?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly