Hi, i have a doubt here, she gave the template and said mention the path where to install the nginx, but she didn't mention the installation command, like apt or yum , i am sorry, if i am wrong, just wanna make sure clear my doubt. I am also in learning stage so i am not sure it is correct or not, as i am practising in redhat linux server i written the playbook like this, please advice me , is both are same we can give path or command? --- - hosts: all become: true tasks: - name: intsall nginx latest version yum: - name: nginx state: present - name: start nginx service: name:nginx state: started enabled: yes ...
So she is calling templates their, usually the web server configuration file will be copied from the template folder to the destination. something like this. apache.conf.j2 is file that will be copied to the destination folder. - name: Set up Apache virtualhost template: src: "apache.conf.j2" dest: "/etc/httpd/conf.d/{{ http_conf }}"
Kya gazab ka ratta mara hai Concepts to dhele hein bilkul 6:09 which security measures have you taken to secure SSH connections in production? 6:45 Then what is continious deployment? 7:37 I would be asking where have you used python in Ansible? ... I can just keep on asking questions to her until she starts telling me that she does not know what she is talking about.
Nopes, the candidate was that good. There were machine tests involved later and she aced them, as well. I have seen/taken a lot of interviews in my life, this candidate was one of those who stood easily in the top 5. But, thanks for the feedback, though.
Started following the channel recently. Great content. Thanks for your efforts :) It would have been nice if the candidate could write the Nginx install task completely, and not like a pseudocpde. Also, it's a pity if we rely on an editor plugin to indent a simple YAML file :( Just honest feedback! Thank you
@@mgp88 Feedback taken, mgp. But, a lot of setups has to be done if we want to take a machine test, Which is sometimes quite difficult to get/make. But, good suggestion, will try getting that done.
Exactly.The play book written by her was wrong with a lot of things missing including syntax,modules,indentation and configuration changes for nginx and the question asked by the interviewer was too easy that a fresher can crack this interview.I don't know on what basis she was selected 😅 anyways it depends how much exp guys taking the interview and how much knowledge he has.I have seen lot of good people after giving 99 percent answer correctly getting rejected.Sabka apna apna choice h😂😂
Hi. Would you please set an index of each question? it would be easier to track and move back or forward to next question. I would request you to do indexing for all interview questions video.
1. What is configuration management? Ans: current we are working in multiple servers assumed we have to install git client in all of these server if we do manually it's a difficult and time taking process to overcome this problem we use configuration management. 2.
2. Why you choose Ansible? Ans: Ansible is agent less but puppet and chef we have to provide a software or agent to manage nodes for that we have to install software or agent in all the node so I choose Ansible
playbook is written in yaml. So ---, is just like a seperator(which is optional). Plays are list of map (so list always start with -), so yeah, her answer is right
in my opinion playbook should look like this --- - hosts: all gather_facts: no become: true tasks: - name: Install Nginx yum: name: nginx state: latest ... please correct me if i am wrong
Mostly good! Just sharing my 2 cents. - hosts: all gather_facts: yes # Enables gathering system facts become: true tasks: - name: Ensure Nginx is installed yum: name: nginx state: latest when: ansible_os_family == "RedHat" # Ensures the task runs only on RHEL-based systems - name: Ensure Nginx is running and enabled service: name: nginx state: started enabled: true Key Changes: gather_facts: yes: Recommended for tasks requiring system information. when Clause: Added a condition to ensure the task is executed only on RHEL-based systems. service Module: Added a task to ensure that Nginx is started and enabled on system boot.
being an experienced devops engineer, i wont hire her for this role ,no intentations ,no use of handlers no use of displaying the status msg with register and debug
@@LogicOpsLab Does companies ask certifications for DevOps profile for 2+ year DevOps Engineer candidate? Has experience in iac(terraform) and configuration management with(ansible and ansible tower) I am looking for switching company, but never got a chance to get certifications, so confused
@@professorcat431 no they don't ask for certificate untill you have a valid experience certificate of working in previous organisation. your experience certificate is enough
I am preparing for DevOps interviews and this was very helpful. Thanks man! keep'em coming.
Means a lot
me too
Great content..keep posting interview sessions which will help us to prepare for DevOps battle 😊
Thanks a lot, Anand.
Hi, i have a doubt here, she gave the template and said mention the path where to install the nginx, but she didn't mention the installation command, like apt or yum , i am sorry, if i am wrong, just wanna make sure clear my doubt. I am also in learning stage so i am not sure it is correct or not, as i am practising in redhat linux server i written the playbook like this, please advice me , is both are same we can give path or command?
---
- hosts: all
become: true
tasks:
- name: intsall nginx latest version
yum:
- name: nginx
state: present
- name: start nginx
service:
name:nginx
state: started
enabled: yes
...
she is calling variables in her code ... it means she have already Inventory and host list in her project
Yes!
So she is calling templates their, usually the web server configuration file will be copied from the template folder to the destination.
something like this. apache.conf.j2 is file that will be copied to the destination folder.
- name: Set up Apache virtualhost
template:
src: "apache.conf.j2"
dest: "/etc/httpd/conf.d/{{ http_conf }}"
Candidate's name should not be disclosed but great content for those preparing for devops interview
Thanks sir
Yes, you are right. I never do that, can you please tell me the timestamp at which it was revealed? I will fix that.
@@LogicOpsLab 2:07 2:19
@@SK-bu3ot i thought u r talking abt written name...everyone might not have that problem so shud not be an issue
Handlers should be defined as State..
She granted her permission.
Kya gazab ka ratta mara hai
Concepts to dhele hein bilkul
6:09 which security measures have you taken to secure SSH connections in production?
6:45 Then what is continious deployment?
7:37 I would be asking where have you used python in Ansible?
...
I can just keep on asking questions to her until she starts telling me that she does not know what she is talking about.
Nopes, the candidate was that good. There were machine tests involved later and she aced them, as well.
I have seen/taken a lot of interviews in my life, this candidate was one of those who stood easily in the top 5.
But, thanks for the feedback, though.
Started following the channel recently. Great content. Thanks for your efforts :)
It would have been nice if the candidate could write the Nginx install task completely, and not like a pseudocpde. Also, it's a pity if we rely on an editor plugin to indent a simple YAML file :(
Just honest feedback! Thank you
@@mgp88 Feedback taken, mgp. But, a lot of setups has to be done if we want to take a machine test, Which is sometimes quite difficult to get/make. But, good suggestion, will try getting that done.
Exactly.The play book written by her was wrong with a lot of things missing including syntax,modules,indentation and configuration changes for nginx and the question asked by the interviewer was too easy that a fresher can crack this interview.I don't know on what basis she was selected 😅 anyways it depends how much exp guys taking the interview and how much knowledge he has.I have seen lot of good people after giving 99 percent answer correctly getting rejected.Sabka apna apna choice h😂😂
This is everything! Thanks for posting this
Thank you, Minelie.
Very good🙏..keep working like this so that other techies can benefit 👍
Thanks a lot 🙏🏻
Hi. Would you please set an index of each question? it would be easier to track and move back or forward to next question. I would request you to do indexing for all interview questions video.
thank you so much for sharing this informative video. it helps alot for those who are preparing for the interview
Means a lot, Anees. Thank you!
Thank you brother for all of your videos... It will be really helpful...
Thanks for all the support
Great video sir, I have subscribed you never gonna miss a video from you now on.
Means a lot, Ankit. Glad you liked it.
Thank you for the great content.
I really like all your post.
As per home background, looks like you are from Bangalore :)
Very clear concepts 👏👏👏
Thanks for the support.
Amazing, thanks for posting these! 🙏🏻
Glad you like them!
Thanks
Thank you for providing us such important session very helpful
Means a lot, Nilam.
I like this one, it was just basic ansible concepts
Thanks for the support, Clarence.
Insightful one, as Always!!!
Thanks a ton, Prerna. Really means a lot!
Subeeererbbb, Thanks for sharing
Glad to hear that.
Best useful thank you ❤❤
Glad it was helpful!
Thanks for this man!
Means a lot
Please post the videos bro..Excellent stuff videos ..helped me a lot
Thank you, Bharat.
the man is very good
Appreciate your feedback.
It is very helpful thank you
Glad it was helpful!
Thanks for your information
So nice of you. Thanks for the feedback.
Nice upload … share is more content it would be more helpful to ppl like me.
Means a lot 🙏🏻
sir, in the last playbook which command made Nginx to be installed on worker nodes????
We have to give like this
yum:
name: Nginx
state: present
@@MnvSudhakar yes, but i belive she was trying to include jinja2 templates there inside the playbook to make that happen!
What Sudhakar said. The one she showed is more of a Psuedo Code.
Where did she use the module to install the nginx package?
Yes, she must have included yum or apt module...correct me if i am wrong.
Brother,I'm missing your all your interview videos ....please atleast upload one video for every tool for now
Working on it, mate. Appreciate your patience.
wow! this will really help.
Glad you liked it
It is great .. thank you
Glad you liked it
Isnt it roles and not modules in ansible? also she didn't mention collections
Timestamp, please?
Do you have anymore Cloud topic like this. Can you please share the link here ?
There are 40 other videos like this in this playlist. Kindly take a look.
Very useful
Thanks a lot.
This was really helpful
Thanks a lot, Dhananjay
last question is it the answer kubectl port-forward command?
Timestamp, please?
the voice seems to be of same person who spoke for Terraform interview questions.
lol 😁
What tool she named take care of indentation?
Timestamp, please?
BTW, you can use this.
1. What is configuration management?
Ans: current we are working in multiple servers assumed we have to install git client in all of these server if we do manually it's a difficult and time taking process to overcome this problem we use configuration management.
2.
2. Why you choose Ansible?
Ans: Ansible is agent less but puppet and chef we have to provide a software or agent to manage nodes for that we have to install software or agent in all the node so I choose Ansible
Playbook will start from --- i believe however she has mentioned ..is this correct which she wrote???? So much indentation
playbook is written in yaml. So ---, is just like a seperator(which is optional). Plays are list of map (so list always start with -), so yeah, her answer is right
Very nice..!!
Thanks for the support 🙏🏻
explain cicd process? can you pick this question
Pick up for?
Good information
Thank you
Is it possible to get a DevOp role without industry experience? Would you give your candidate a chance?
Yes, but only and only if you have built a few projects.
Great
Thanks
in my opinion playbook should look like this
---
- hosts: all
gather_facts: no
become: true
tasks:
- name: Install Nginx
yum:
name: nginx
state: latest
...
please correct me if i am wrong
Mostly good! Just sharing my 2 cents.
- hosts: all
gather_facts: yes # Enables gathering system facts
become: true
tasks:
- name: Ensure Nginx is installed
yum:
name: nginx
state: latest
when: ansible_os_family == "RedHat" # Ensures the task runs only on RHEL-based systems
- name: Ensure Nginx is running and enabled
service:
name: nginx
state: started
enabled: true
Key Changes:
gather_facts: yes: Recommended for tasks requiring system information.
when Clause: Added a condition to ensure the task is executed only on RHEL-based systems.
service Module: Added a task to ensure that Nginx is started and enabled on system boot.
Sorry for the bad comments....I gave my laptop to my friend to learn..he made bad comments...I am extremly sorry brother...
It's alright, mate.
@@LogicOpsLab I am extreamly sorry.He is frustrated of being in a job but nit getting salary for a year. Trust me he is a good guy either.
Bro tell me the experience of this folk who is in interview
being an experienced devops engineer, i wont hire her for this role ,no intentations ,no use of handlers no use of displaying the status msg with register and debug
Certificate necessary?
?
@@LogicOpsLab Does companies ask certifications for DevOps profile for 2+ year DevOps Engineer candidate?
Has experience in iac(terraform) and configuration management with(ansible and ansible tower)
I am looking for switching company, but never got a chance to get certifications, so confused
@@professorcat431 no they don't ask for certificate untill you have a valid experience certificate of working in previous organisation. your experience certificate is enough
is she selected or not ...??
Yes, she was.
She missed the important point in the playbook i.e. ---
More of a pseudo code. But, please do write your answers, as well. This will help improve us and for the community.
But that is not mandatory, even if you don’t write - - - playbook will run. Isn’t it?
Yes
@@LogicOpsLab😂g
Is it real , it looks planted , i mean already planned in a way for UA-cam recording ?
Thanks for the feedback, Rehan.
Didn't she answered the very first question wrong ? She mixed the definition of configuration management with what actually chef, ansible does
Please comment down the correct answer as feedback. This will help other folks, as well.
The playbook is not correct
It's pseudo code. You don't have to write 100 percent correct code in the interview.