Sapiens
I4S Infra Security & Solution Interview Questions and Answers
Q1. Docker: Dockerfile arguements explain usage, how to retain docker container data, Do we have to use EXPOSE command for container or it can be omitted?
Dockerfile arguments, retaining container data, and EXPOSE command usage explained.
Dockerfile arguments can be used to pass values to the Dockerfile at build time, allowing for flexibility in building images.
To retain data in a Docker container, you can use volumes to persist data outside of the container's filesystem.
The EXPOSE command in a Dockerfile is used to specify the port on which a container listens for connections, but it is not required for the container to functio...read more
Q2. Jenkins: How to use variable used in one stage to another stage? , Can you run 100 jobs using jenkins?
To use variables between stages in Jenkins, use the 'stash' and 'unstash' steps. Yes, you can run 100 jobs in Jenkins.
Use 'stash' step to save variables in one stage and 'unstash' step to retrieve them in another stage
Variables can also be passed between stages using 'environment' directive in Jenkins pipeline
To run 100 jobs in Jenkins, you can use Jenkins pipeline to automate the process
Q3. Kubernetes: explain your kubernetes architecture, kubectl create and apply difference, How will you give access to new user on kubernetes. Role and RoleBinding, various Kubernetes certificates
Kubernetes architecture, kubectl create vs apply, user access management, Role and RoleBinding, Kubernetes certificates
Kubernetes architecture typically consists of master nodes and worker nodes, with the master nodes managing the cluster and worker nodes running applications.
kubectl create is used to create new resources in Kubernetes, while kubectl apply is used to create or update resources based on a configuration file.
To give access to a new user on Kubernetes, you can c...read more
Q4. AWS: How will you access ec2 if u lost ur pem key, S3 types
To access an EC2 instance without a PEM key, you can use AWS Systems Manager Session Manager or create a new key pair and attach it to the instance. There are different types of S3 storage classes such as Standard, Intelligent-Tiering, Glacier, etc.
Use AWS Systems Manager Session Manager to access EC2 without a PEM key
Create a new key pair and attach it to the EC2 instance
S3 storage classes include Standard, Intelligent-Tiering, Glacier, etc.
Q5. GIT: committing remote git repo, explain steps in it
Committing changes to a remote Git repository
Add changes to the staging area using 'git add
' Commit the changes to the local repository using 'git commit -m 'commit message''
Push the changes to the remote repository using 'git push'
Q6. Nginx: Main file of nginx server
The main file of Nginx server is nginx.conf
The main configuration file for Nginx server is typically named nginx.conf
It is located in the /etc/nginx/ directory on most systems
This file contains directives that control how Nginx operates, such as server blocks, location blocks, and global settings
Interview Process at I4S Infra Security & Solution
Top Devops Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month