VMware Software
200+ iOPEX Technologies Interview Questions and Answers
Q1. Next Smallest Palindrome Problem Statement
Find the next smallest palindrome strictly greater than a given number 'N' represented as a string 'S'.
Explanation:
You are given a number in string format, and your ...read more
Q2. Check Permutation Problem Statement
Given two strings 'STR1' and 'STR2', determine if they are anagrams of each other.
Explanation:
Two strings are considered to be anagrams if they contain the same characters,...read more
Q3. Reverse the String Problem Statement
You are given a string STR
which contains alphabets, numbers, and special characters. Your task is to reverse the string.
Example:
Input:
STR = "abcde"
Output:
"edcba"
Input...read more
Q4. Search In Rotated Sorted Array Problem Statement
Given a rotated sorted array ARR
of size 'N' and an integer 'K', determine the index at which 'K' is present in the array.
Note:
1. If 'K' is not present in ARR,...read more
Q5. You are given a binary array with N elements: d[0], d[1], ... d[N - 1]. You can perform AT MOST one move on the array: choose any two integers [L, R], and flip all the elements between (and including) the L-th...
read moreQ6. Minimum Jumps Problem Statement
Bob and his wife are in the famous 'Arcade' mall in the city of Berland. This mall has a unique way of moving between shops using trampolines. Each shop is laid out in a straight...read more
Q7. Pair Sum in Binary Search Tree
Given a Binary Search Tree (BST) and a target value 'K', determine if there exist two unique elements in the BST such that their sum equals the target 'K'.
Explanation:
A BST is a...read more
Q8. Problem: Sort an Array of 0s, 1s, and 2s
Given an array/list ARR
consisting of integers where each element is either 0, 1, or 2, your task is to sort this array in increasing order.
Input:
The input starts with...read more
Q9. How does HA works? Port number? How many host failure allowed and why? ANS--> Maximum allowed host failures within a HA cluster is 4. What happens if 4 hosts have failed and a 5th one also fails. I have still e...
read moreVMware HA allows for a maximum of 4 host failures within a cluster. If a 5th host fails, VMs may not restart depending on admission control settings.
Maximum allowed host failures within a HA cluster is 4
If a 5th host fails and admission control is enabled, some VMs may not restart due to resource constraints
If admission control is disabled, VMs will restart on any remaining host but may not be functional
Ensure enough port groups are configured on vSwitch for Virtual Machine p...read more
Q10. Problem: Search In Rotated Sorted Array
Given a sorted array that has been rotated clockwise by an unknown amount, you need to answer Q
queries. Each query is represented by an integer Q[i]
, and you must determ...read more
Q11. Docker command to transfer an image from one machine to another without using docker registry
Docker save and Docker load commands can be used to transfer an image from one machine to another without using a Docker registry.
Use the 'docker save' command to save the image as a tar file on the source machine
Transfer the tar file to the destination machine using any file transfer method (e.g., scp)
On the destination machine, use the 'docker load' command to load the image from the tar file
Q12. Common Elements in Three Sorted Arrays
Given three sorted arrays A
, B
, and C
of lengths N
, M
, and K
respectively, your task is to find all elements that are present in all three arrays.
Input:
The first line co...read more
Q13. Reverse Linked List Problem Statement
Given a Singly Linked List of integers, your task is to reverse the Linked List by altering the links between the nodes.
Input:
The first line of input is an integer T, rep...read more
Q15. Reverse List In K Groups Problem Statement
You are provided with a linked list having 'N' nodes and an integer 'K'. Your task is to reverse the linked list in groups of size K. If the list is numbered from 1 to...read more
Q16. Reverse Number Problem Statement
Ninja is exploring new challenges and desires to reverse a given number. Your task is to assist Ninja in reversing the number provided.
Note:
If a number has trailing zeros, the...read more
Q17. Prerequisites for HA ? First, for clusters enabled for VMware HA, all virtual machines and their configuration files must reside on shared storage (Fibre Channel SAN, iSCSI SAN, or SAN iSCI NAS), because you ne...
read morePrerequisites for HA clusters in VMware environment
Virtual machines and configuration files must be on shared storage
Console network should have redundant network paths for reliable failure detection
Hosts in cluster must be part of a VMotion network for DRS with HA
Q18. Tower of Hanoi Problem Statement
You have three rods numbered from 1 to 3, and 'N' disks initially stacked on the first rod in increasing order of their sizes (largest disk at the bottom). Your task is to move ...read more
Q19. Convert Array to Min Heap Task
Given an array 'ARR' of integers with 'N' elements, you need to convert it into a min-binary heap.
A min-binary heap is a complete binary tree where each internal node's value is ...read more
Q20. Reverse Stack with Recursion
Reverse a given stack of integers using recursion. You must accomplish this without utilizing extra space beyond the internal stack space used by recursion. Additionally, you must r...read more
Q21. Flip Bits Problem Explanation
Given an array of integers ARR
of size N, consisting of 0s and 1s, you need to select a sub-array and flip its bits. Your task is to return the maximum count of 1s that can be obta...read more
Q22. First and Last Position of an Element in a Sorted Array
Given a sorted array/list ARR
consisting of ‘N’ elements, and an integer ‘K’, your task is to find the first and last occurrence of ‘K’ in ARR
.
Explanatio...read more
Q23. Intersection of Two Arrays Problem Statement
Given two arrays A
and B
with sizes N
and M
respectively, both sorted in non-decreasing order, determine their intersection.
The intersection of two arrays includes ...read more
Q24. Segregate Odd-Even Problem Statement
In a wedding ceremony at NinjaLand, attendees are blindfolded. People from the bride’s side hold odd numbers, while people from the groom’s side hold even numbers. For the g...read more
Q25. Convert Sorted Array to BST Problem Statement
Given a sorted array of length N
, your task is to construct a balanced binary search tree (BST) from the array. If multiple balanced BSTs are possible, you can retu...read more
Q26. Check If Preorder Traversal Is Valid
Determine whether a given array ARR
of positive integers is a valid Preorder Traversal of a Binary Search Tree (BST).
A binary search tree (BST) is a tree structure where ea...read more
Q27. Remove Duplicates From Unsorted Linked List Problem Statement
You are provided with a linked list consisting of N nodes. Your task is to remove duplicate nodes such that each element occurs only once in the lin...read more
Q30. What is the usecase which would require setup of distributed jenkins nodes
Distributed Jenkins nodes are used to handle large-scale builds and improve performance.
Large-scale builds: When there are a large number of builds to be executed simultaneously, distributed Jenkins nodes can handle the load by distributing the builds across multiple nodes.
Improved performance: By distributing the workload, the overall build time can be reduced, resulting in improved performance.
Resource utilization: Distributed nodes allow for better utilization of resources...read more
Q31. 8 coins are given where all the coins have equal weight, except one. The odd one may be less weight than the other or it may be heavier than the rest 7 coins. In worst case, how many iterations are needed to fi...
read moreQ40. Prerequisites for VMotion? Ans--> a)ESX Servers must be configured with VMkenerl ports enabled for vmotion and on the same network segment b)ESX Servers must be managed by the same Virtual Center server c)ESX M...
read morePrerequisites for VMotion include network configuration, CPU compatibility, shared storage, and virtual switch restrictions.
ESX Servers must have VMkernel ports enabled for VMotion on the same network segment
ESX Servers must be managed by the same Virtual Center server
ESX Servers must have compatible CPUs
ESX Servers must have consistent networks and network labels
VMs must be stored on shared storage like iSCSI, FC SAN, or NAS/NFS
VMs cannot use local CD/floppy or internal-only...read more
Q43. There are at most eight servers in a data center. Each server has got a capacity/memory limit. There can be at most 8 tasks that need to be scheduled on those servers. Each task requires certain capacity/memory...
read moreQ46. Akamai request flow. Hierarchy of rules being parsed when request comes to Akamai.
Akamai request flow involves parsing rules in a hierarchical manner.
Akamai request flow involves multiple stages and rules.
When a request comes to Akamai, it goes through a series of stages such as Edge server selection, caching, and delivery.
During each stage, different rules are parsed and applied based on the configuration.
The hierarchy of rules determines the order in which they are evaluated and applied.
For example, caching rules may be evaluated before delivery rules.
Th...read more
Q47. There are two interfaces B and C each having the same method public m1() class A implements B and C If class A has to implement method m1, the implemented method would be of which interface?
The implemented method would be of the interface that is extended first in the class declaration.
In this case, since class A implements B and C, the implemented method m1 would be of interface B if B is extended first in the class declaration.
If C was extended first in the class declaration, then the implemented method m1 would be of interface C.
The order of interface extension determines which interface's method is implemented in the class.
Q48. How would you debug a website which is progressively slowing down
To debug a progressively slowing down website, I would analyze the server logs, check for memory leaks, and optimize the code.
Analyze server logs to identify any errors or bottlenecks
Check for memory leaks in the code
Optimize the code by removing unnecessary scripts and optimizing images
Use tools like Chrome DevTools to identify performance issues
Consider implementing a content delivery network (CDN) to improve website speed
Q49. There are 3 kinds of balls in a big array. Red, Green, Blue color balls. Arrange them in such a way that all the red balls to the left, Green balls in the middle and Blue balls to the right of the array
Q50. What does a load balancer do when an instance in aws stops
Load balancer routes traffic to other healthy instances
Load balancer detects the unhealthy instance
Stops sending traffic to that instance
Routes traffic to other healthy instances
Maintains high availability and scalability of the application
Q51. Why do I still see processes for my virtual machine when running the ps command on the Service Console even though my virtual machine is powered down?
Virtual machine processes may still be visible in the Service Console even when powered down.
Virtual machine processes may still be running in the background even when the virtual machine is powered down.
The ps command shows all processes running on the system, including those related to virtual machines.
Some processes may continue to run for maintenance or monitoring purposes even when the virtual machine is not actively running.
Q52. Have you ever installed an ESX host? What are the pre and post conversion steps involved in that? What would be the portions listed? What would be the max size of it?
Q53. Storage team provided the new LUN ID to you? How will you configure the LUN in VC? What would be the block size (say for 500 GB volume size)?
To configure the new LUN in VC, I will follow the given steps and set the block size based on the volume size.
Add the new LUN to the storage array
Rescan the storage adapters in vSphere Client
Create a new datastore using the new LUN ID
Set the block size based on the volume size (e.g. 1MB for 500GB volume size)
Q55. When we click on the power button of our Laptop, what happens immediately and how the windows is loaded?
Q56. What are the basic commands to troubleshoot connectivity between vSphere Client /vCenter to ESX server?
The basic commands to troubleshoot connectivity between vSphere Client/vCenter and ESX server.
Ping the ESX server from the vSphere Client/vCenter to check network connectivity.
Check if the ESX server is reachable by using the vmkping command.
Verify if the ESX server's management services are running using the service mgmt-vmware status command.
Check the firewall settings on the ESX server to ensure necessary ports are open.
Restart the management agents on the ESX server using...read more
Q57. You are given a sorted skewed binary tree. How can you create a binary search tree of minimum height from it?
To create a binary search tree of minimum height from a sorted skewed binary tree, we can use the following approach:
Find the middle element of the sorted skewed binary tree.
Make it the root of the new binary search tree.
Recursively repeat the process for the left and right halves of the original tree.
Attach the resulting subtrees as the left and right children of the root.
Q58. How does VMotion works? What’s the port number used for it? ANS--> TCP port 8000
Q59. How will you generate a report for list of ESX, VM’s, RAM and CPU used in your Vsphere environment?
Q60. Is there a way to mount the vmfs volumes if they accidentally get unmounted without having to reboot?
Q64. Given a list of arraylists containing elements, write a function that prints out the permutations of of the elements such that, each of the permutation set contains only 1 element from each arraylist and there...
read moreFunction to print permutations of elements from arraylists with no duplicates.
Use recursion to generate all possible permutations by selecting one element from each arraylist at a time.
Keep track of used elements to avoid duplicates in the permutation sets.
Use a set data structure to store and check for duplicates efficiently.
Q65. I want to add a new VLAN to the production network? What are the steps involved in that? And how do you enable it?
Adding a new VLAN to a production network involves several steps and enabling it requires configuration changes.
Plan the new VLAN configuration including VLAN ID, subnet, and gateway.
Configure the switch or router to create the new VLAN.
Assign ports to the new VLAN as needed.
Enable routing between the new VLAN and other VLANs if required.
Test the new VLAN to ensure connectivity and functionality.
Examples: VLAN 20 with subnet 192.168.20.0/24 and gateway 192.168.20.1.
Examples: ...read more
Q66. What the difference between connecting the ESX host through VC and Vsphere? What are the services involved in that? What are the port numbers’s used?
Connecting ESX host through VC and vSphere involves different services and port numbers.
Connecting ESX host through VC involves vCenter Server which provides centralized management and monitoring.
Connecting ESX host through vSphere involves vCenter Server along with additional services like vSphere Client and vSphere Web Client.
Some of the services involved in connecting ESX host through VC and vSphere include vCenter Server, vSphere Client, vSphere Web Client, and ESXi host ...read more
Q67. What is the command used to restart SSH, NTP & Vmware Web access?
The command to restart SSH, NTP, and VMware Web access is service.
To restart SSH, use the command: service ssh restart
To restart NTP, use the command: service ntp restart
To restart VMware Web access, use the command: service vmware-webaccess restart
Q68. Describe inodes and file descriptors. What is the use of swap
Inodes are data structures that store information about files on a Unix/Linux file system. File descriptors are unique identifiers for open files. Swap is a space on a hard disk used as virtual memory.
Inodes contain metadata about files such as ownership, permissions, and timestamps.
File descriptors are used by the operating system to keep track of open files and to perform I/O operations on them.
Swap is used when the amount of physical memory (RAM) is insufficient to hold al...read more
Q70. An array which is a Post order traversal of a Binary Tree. Write a function to check if the Binary Tree formed from the array is a Binary Search Tree.
Check if a Binary Tree formed from a Post order traversal array is a Binary Search Tree.
Start by constructing the Binary Tree from the given Post order traversal array.
Check if the Binary Tree satisfies the properties of a Binary Search Tree.
Use recursion to check if each node's value is within the correct range.
Example: Post order traversal array [1, 3, 2] forms a Binary Search Tree.
Example: Post order traversal array [3, 2, 1] does not form a Binary Search Tree.
Q72. Is there a way to blacklist IPs in AWS
Yes, AWS provides various methods to blacklist IPs.
Use AWS WAF to create rules to block specific IP addresses
Configure security groups to deny traffic from specific IP addresses
Utilize AWS Network ACLs to block traffic from specific IP addresses
Q74. What is the default number of ports configured with the Virtual Switch?
The default number of ports configured with the Virtual Switch is 8.
The Virtual Switch is a software-based network switch that allows virtual machines to communicate with each other and with the host system.
By default, the Virtual Switch is configured with 8 ports, which can be used to connect virtual machines and other network devices.
These ports can be assigned to different virtual machines or network adapters as needed.
Additional ports can be added or existing ports can be...read more
Q75. What are the relevant elements to be considered in ascertaining the Cost of creating a Quote by an IT Company
The relevant elements to consider in ascertaining the cost of creating a quote by an IT company
Scope of the project
Complexity of the requirements
Labor costs
Technology and tools required
Timeframe for completion
Overhead expenses
Profit margin
Competitor pricing
Client's budget constraints
Q76. Im not able to connect to the Service Console over the network. What could the issue be?
Possible reasons for not being able to connect to the Service Console over the network.
Check network connectivity and ensure the correct IP address is being used.
Verify firewall settings to allow access to the Service Console.
Ensure the Service Console service is running properly.
Check for any network configuration issues or restrictions.
Restart the Service Console and try connecting again.
Q77. Why did VMware limit its beta of ESX Server 3.0 to so few?
Q79. How do DRS works? Which technology used? What are the priority counts to migrate the VM’s?
Q80. How to implement executor framework and it's benefits
Executor framework is used to manage threads and execute tasks asynchronously.
Executor framework provides a way to manage threads and execute tasks asynchronously.
It provides a thread pool and a queue to manage tasks.
It helps in improving the performance of the application by reducing the overhead of creating and destroying threads.
It also provides a way to handle exceptions and errors in the tasks.
Example: Executors.newFixedThreadPool(10) creates a thread pool of 10 threads.
Q81. What do you do if you forget the root password of the Service Console?
To reset the root password of the Service Console, you can follow these steps:
Restart the system and press 'e' at the GRUB menu to edit the boot configuration
Locate the line starting with 'linux' and append 'init=/bin/bash' at the end
Press 'Ctrl + X' to boot into single-user mode
Remount the root file system as read-write by running 'mount -o remount,rw /'
Reset the root password by running 'passwd root'
Reboot the system and login with the new root password
Q82. What are the files will be created while creating a VM and after powering on the VM?
Q83. How will you turn start / stop a VM through command prompt?
Q84. How will you check the network bandwidth utilization in an ESXS host through command prompt?
Q85. What is the most important aspect of deploying ESX Server and virtual machines?
Q86. Can I back up my entire virtual machine from the Service Console?
Q87. If I can't get a SAN, will local storage with a RAID device be sufficient?
Q90. Given a unsorted array. Create a balanced B tree. Whether it is possible to solve this problem algorithm in logarithmic complexity ?
It is not possible to create a balanced B tree from an unsorted array in logarithmic complexity.
Creating a balanced B tree from an unsorted array requires sorting the array first, which has a complexity of O(n log n).
Balanced B tree construction typically has a complexity of O(n log n) or O(n) depending on the algorithm used.
Example: If we have an unsorted array [3, 1, 4, 1, 5, 9, 2, 6, 5], we would need to sort it first before constructing a balanced B tree.
Q91. If the VMDK header file corrupt what will happen? How do you troubleshoot?
Q92. Explain about VCB? What it the minimum priority (*) to consolidate a machine?
Q94. ISOs have been mentioned in several of the chapters. Why are they so important?
ISOs are important because they provide a set of standards and guidelines for various industries.
ISOs ensure consistency and quality in products and services.
ISOs help organizations meet legal and regulatory requirements.
ISOs promote international trade by harmonizing standards across countries.
ISOs enhance customer confidence and trust in products and services.
ISOs facilitate interoperability and compatibility between different systems.
ISOs cover a wide range of areas such a...read more
Q95. Explain about your production environment? How many cluster’s, ESX, Data Centers, H/w etc ?
Q96. Have you ever patched the ESX host? What are the steps involved in that?
Q97. What will happen if I deploy systems management software on the ESX Server itself?
Q99. Which version of VMware ESX Server supports Boot from SAN?
Q100. Round1(Coding Round): There are n seats and m people are seated randomly. Write a program to get minimum number of hops between make them seated together.
Given n seats and m people seated randomly, find the minimum number of hops to seat them together.
Find all possible contiguous groups of m seats
Calculate the number of hops required to move each group to the center seat of that group
Return the minimum number of hops required
Top HR Questions asked in iOPEX Technologies
Interview Process at iOPEX Technologies
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month