Premium Employer

Siemens

4.1
based on 4.7k Reviews
Filter interviews by

10+ Indian Political Action Committee Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. How to run a docker command remotely. i.e. Docker is installed on both your laptop and a remote linux server. You need to run docker command on the linux server but without taking a separate ssh session to the...

read more
Ans.

You can use the Docker API to remotely run Docker commands on a Linux server without taking a separate SSH session.

  • Use the Docker API to interact with the Docker daemon on the remote Linux server.

  • Make sure Docker is installed and running on both your laptop and the remote server.

  • Authenticate with the remote server using appropriate credentials.

  • Establish a connection to the Docker daemon on the remote server using the Docker API.

  • Send the desired Docker command to the remote se...read more

View 1 answer
Q2. What is the command used to delete a branch in Git?
Ans.

The command used to delete a branch in Git is 'git branch -d <branch_name>'.

  • Use 'git branch -d <branch_name>' to delete a branch in Git.

  • Make sure to switch to a different branch before deleting the branch.

  • If the branch has not been merged, use 'git branch -D <branch_name>' to force delete.

View 2 more answers
Q3. Can you explain the difference between CMD and ENTRYPOINT in Docker?
Ans.

CMD specifies the default command to run in the container, while ENTRYPOINT specifies the executable to run when the container starts.

  • CMD is often used to provide default arguments for the ENTRYPOINT command

  • ENTRYPOINT is used to specify the executable that will run when the container starts

  • CMD can be overridden at runtime by passing arguments to docker run command

  • ENTRYPOINT cannot be overridden at runtime, but can be combined with CMD to provide default arguments

Add your answer
Q4. Can you describe the lifecycle of a Docker container?
Ans.

The lifecycle of a Docker container involves creation, running, pausing, restarting, and stopping.

  • 1. Creation: A Docker container is created from a Docker image using the 'docker run' command.

  • 2. Running: The container is started and runs the specified application or service.

  • 3. Pausing: The container can be paused using the 'docker pause' command, which temporarily stops its processes.

  • 4. Restarting: The container can be restarted using the 'docker restart' command.

  • 5. Stopping:...read more

Add your answer
Discover Indian Political Action Committee interview dos and don'ts from real experiences
Q5. What is the difference between git revert and git reset?
Ans.

git revert undoes a specific commit by creating a new commit, while git reset moves the HEAD to a previous commit without creating a new commit.

  • git revert creates a new commit that undoes a specific commit, keeping the commit history intact

  • git reset moves the HEAD to a previous commit, potentially discarding changes made after that commit

  • git revert is safer for shared branches as it does not rewrite history, while git reset can be used for local branches to reset to a previou...read more

Add your answer
Q6. How can you monitor a Kubernetes cluster?
Ans.

Monitoring a Kubernetes cluster involves using tools like Prometheus, Grafana, and Kubernetes Dashboard.

  • Use Prometheus for collecting metrics from Kubernetes components and applications running on the cluster.

  • Set up Grafana for visualizing the collected metrics and creating dashboards for monitoring.

  • Utilize Kubernetes Dashboard for a graphical interface to view and manage the cluster resources.

  • Implement alerts and notifications using tools like Prometheus Alertmanager to proa...read more

Add your answer
Are these interview questions helpful?
Q7. Can you explain the architecture of Jenkins?
Ans.

Jenkins is an open-source automation server that helps to automate the non-human part of the software development process.

  • Jenkins is a Java-based application that runs in a servlet container like Apache Tomcat.

  • It can be installed on a single server or distributed across multiple servers for scalability.

  • Jenkins uses plugins to extend its functionality, allowing integration with various tools and technologies.

  • It follows a master-slave architecture where the master node manages ...read more

Add your answer
Q8. How does AWS contribute to DevOps?
Ans.

AWS provides a wide range of services and tools that support the principles and practices of DevOps.

  • AWS offers infrastructure as code tools like CloudFormation and Terraform for automating the provisioning of resources.

  • AWS provides a variety of monitoring and logging services such as CloudWatch and CloudTrail to help with continuous monitoring and feedback loops.

  • AWS supports continuous integration and continuous deployment (CI/CD) pipelines through services like AWS CodePipel...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. What is a Docker image registry?
Ans.

A Docker image registry is a repository for storing and managing Docker images.

  • It allows users to push and pull Docker images to and from the registry.

  • Popular Docker image registries include Docker Hub, Amazon ECR, and Google Container Registry.

  • Registries can be public or private, with private registries requiring authentication for access.

Add your answer
Q10. How many components are there in Docker?
Ans.

Docker has 3 main components: Docker Engine, Docker Images, and Docker Containers.

  • Docker Engine is the core component responsible for running and managing Docker containers.

  • Docker Images are read-only templates used to create Docker containers.

  • Docker Containers are lightweight, standalone, and executable packages that include everything needed to run a piece of software.

Add your answer
Q11. What is LVM and why is it required?
Ans.

LVM stands for Logical Volume Manager, used to manage disk space efficiently by allowing for dynamic resizing of volumes.

  • LVM allows for easy resizing of volumes without the need to unmount the filesystem

  • It provides features like snapshots, striping, mirroring, and thin provisioning

  • LVM can span multiple physical disks to create a single logical volume

Add your answer
Q12. What is Continuous Testing (CT)?
Ans.

Continuous Testing (CT) is the process of executing automated tests as part of the software delivery pipeline to obtain immediate feedback on the business risks associated with a software release candidate.

  • CT helps in identifying defects early in the development cycle.

  • It ensures that the software is always in a releasable state.

  • CT integrates testing into the CI/CD pipeline for faster feedback loops.

  • Examples include running unit tests, integration tests, and end-to-end tests a...read more

Add your answer
Q13. What do you know about git reflog?
Ans.

Git reflog is a reference log that records changes to the HEAD of the repository.

  • Records all changes to the HEAD reference

  • Useful for recovering lost commits or branches

  • Can be accessed using 'git reflog' command

Add your answer
Q14. What is load average in Linux?
Ans.

Load average in Linux is a measure of system activity, indicating the average number of processes waiting for CPU time over a period of time.

  • Load average is displayed as three numbers representing the average load over the last 1, 5, and 15 minutes.

  • A load average of 1.0 means the system is at full capacity, while a load average of 0.5 means the system is half as busy.

  • High load averages may indicate that the system is overloaded and may require optimization or additional resou...read more

View 1 answer
Q15. What is Kubernetes Load Balancing?
Ans.

Kubernetes Load Balancing is a method to distribute incoming network traffic across multiple pods in a Kubernetes cluster.

  • Kubernetes Load Balancer service type automatically creates a cloud provider load balancer.

  • It helps in scaling applications by distributing traffic evenly across multiple pods.

  • Load balancing ensures high availability and reliability of applications running in a Kubernetes cluster.

Add your answer

Q16. What is the VPN port used for UDP

Ans.

The VPN port used for UDP is typically 500.

  • The VPN port used for UDP is usually port 500.

  • UDP is a protocol that allows for faster transmission of data but does not guarantee delivery or order of packets.

  • Port 500 is commonly used for IPsec VPNs, which provide secure communication over the internet.

  • Other VPN protocols may use different ports for UDP, so it's important to check the specific configuration.

View 1 answer

Q17. Syntax for grep command and regex

Ans.

Syntax for grep command and regex

  • grep [options] pattern [file]

  • Regular expression (regex) is used to define the pattern

  • Examples: grep 'hello' file.txt

  • grep -i 'hello' file.txt

  • grep -r 'hello' /path/to/directory

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Indian Political Action Committee

based on 1 interviews
Interview experience
5.0
Excellent
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Devops Engineer Interview Questions from Similar Companies

2.8
 • 20 Interview Questions
3.6
 • 16 Interview Questions
3.8
 • 15 Interview Questions
4.0
 • 11 Interview Questions
3.7
 • 10 Interview Questions
3.5
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter