Oracle
Dev Brothers Construction Interview Questions and Answers
Q1. How can one troubleshoot the crashloop error in Kubernetes (k8s)?
Troubleshooting crashloop error in Kubernetes involves checking pod logs, examining resource limits, and verifying configuration files.
Check pod logs to identify the cause of the crashloop.
Examine resource limits to ensure the pod has enough resources to run.
Verify configuration files for any errors or misconfigurations.
Use kubectl commands like describe, logs, and exec to troubleshoot further.
Consider checking for issues with persistent volumes or network connectivity.
Q2. How do you list all the files held by a process
Use the lsof command to list all files held by a process
Use the lsof command followed by the -p flag and the process ID to list files held by a specific process
For example, to list all files held by process ID 1234, run: lsof -p 1234
You can also use the -c flag to specify a process name instead of ID, like: lsof -c chrome
Q3. k8s fundamentals. Role of each component
Kubernetes (k8s) fundamentals and role of each component
Kubelet - agent that runs on each node in the cluster and ensures containers are running
Kube-proxy - network proxy that maintains network rules on nodes
Kubernetes API server - central management entity that serves the Kubernetes API
etcd - distributed key-value store used for storing cluster data
Kube-controller-manager - runs controller processes to manage the state of the cluster
Kube-scheduler - assigns workloads to node...read more
Q4. What are terraform modules
Terraform modules are reusable components that can be used to create infrastructure resources.
Modules are collections of .tf files that define resources and their dependencies
They can be used to create reusable infrastructure code
Modules can be published to the Terraform Registry for others to use
They can be used to create complex infrastructure setups easily
Q5. What are inodes?
Inodes are data structures in Unix-like file systems that store metadata about files, such as permissions, ownership, and location.
Inodes contain information about files, such as file size, permissions, timestamps, and pointers to data blocks.
Each file in a Unix-like file system is represented by an inode.
Inodes are used to efficiently locate and manage files on the file system.
When a file is created, an inode is also created to store its metadata.
Inodes are identified by a u...read more
Q6. container vs Virtaul Machines?
Containers are lightweight, portable, and efficient, while virtual machines are more isolated and resource-intensive.
Containers share the host OS kernel, making them more lightweight and faster to start compared to VMs.
VMs provide stronger isolation and security by running a separate OS instance for each VM.
Containers are ideal for microservices architecture and rapid deployment, while VMs are better for running multiple applications with different OS requirements.
Examples: D...read more
More about working at Oracle
Top Senior Devops Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month