IBM
Gautam Budh Balak Inter College Interview Questions and Answers
Q1. How will you check if a pod in ReplicaSet went down or failed and what was the reason for the same?
To check if a pod in ReplicaSet went down or failed, monitor the pod status, logs, and events.
Monitor the pod status using kubectl get pods command
Check the pod logs for any error messages using kubectl logs command
Review the events related to the pod using kubectl describe pod command
Set up alerts or notifications for pod failures using monitoring tools like Prometheus or Grafana
Q2. What are modules in Terraform, share your screen and write module
Modules in Terraform are reusable components that allow you to encapsulate and organize your infrastructure code.
Modules help in breaking down complex infrastructure into smaller, manageable components
They promote reusability and maintainability of code
Modules can be shared and used across different projects
Example: Creating a module for provisioning a virtual machine in Azure
Q3. How would you provide security to your credentials while using Terraform
Use encrypted variables, limit access to credentials, and utilize secure storage solutions.
Encrypt sensitive variables using tools like Vault or AWS KMS
Limit access to credentials by using least privilege principles
Store credentials securely in a password manager or key vault
Avoid hardcoding credentials in Terraform configuration files
Q4. If you are using CICD define your stages and issues you faced
CICD stages include build, test, deploy, and monitor. Common issues include integration challenges and pipeline failures.
Stages: Build, Test, Deploy, Monitor
Issues: Integration challenges, Pipeline failures
Example: Integration challenges with third-party tools delaying deployment
Q5. Will you be able to work if given any type of work like either DevOps or only Cloud or only Development?
Yes, I am capable of working in various roles such as DevOps, Cloud, and Development.
I have experience and skills in DevOps practices such as automation, CI/CD, and infrastructure as code.
I am proficient in cloud technologies like AWS, Azure, or Google Cloud Platform.
I have a strong background in software development with expertise in languages like Python, Java, or JavaScript.
Q6. Explain VPC, NAT Gateway, difference between NACL and SG
VPC is a virtual private cloud that allows you to create isolated networks, NAT Gateway enables instances in a private subnet to connect to the internet, NACL controls inbound and outbound traffic at the subnet level, SG controls traffic at the instance level.
VPC is a virtual network in the cloud that you can define and customize, providing a secure environment for your resources.
NAT Gateway allows instances in a private subnet to access the internet while remaining private.
N...read more
Q7. Write a Docker File
A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image.
Start with a base image
Use the FROM keyword to specify the base image
Add any necessary dependencies using the RUN keyword
Copy application code into the image using the COPY keyword
Expose any necessary ports using the EXPOSE keyword
Specify the command to run when the container starts using the CMD keyword
Q8. OSI model explaination
The OSI model is a conceptual framework that standardizes the functions of a telecommunication or computing system into seven layers.
The OSI model stands for Open Systems Interconnection model.
It helps in understanding how data is transmitted over a network.
The seven layers are: Physical, Data Link, Network, Transport, Session, Presentation, and Application.
Each layer has specific functions and interacts with adjacent layers.
For example, the Physical layer deals with the phys...read more
Q9. Any Cloud and Linux/windows
Yes, I have experience with both Cloud services and Linux/Windows operating systems.
Experience with AWS, Azure, or Google Cloud Platform
Proficient in Linux distributions such as Ubuntu, CentOS, or Red Hat
Familiar with Windows Server operating systems
Knowledge of virtualization technologies like VMware or Hyper-V
More about working at IBM
Interview Process at Gautam Budh Balak Inter College
Reviews
Interviews
Salaries
Users/Month