Juniper Networks Interview Questions and Answers for Experienced
There were total four rounds including three technical interviews and one managerial interview in a single day.
This opportunity was for the experienced Python developer profile. As I remember following are the questions asked in three Juniper technical and an HR round.
Juniper Networks Interview Questions
Write a program for web scraping.
Answer: I gave her an example of web scraping Zomato application. I don’t need to code a complete program. I explained to her on the whiteboard. Also, I told her different Python libraries to use like
BeautifulSoap which is the most popular Python module used for web scraping.
Write a program to identify if the two string is circular equivalent using Python.
Example: The string
juniper is circular equivalent to
Write the regular expression to check the valid IP address.
Answer: I don’t have any experience working on regular expression in Python. So I explained the interviewer MAT address format and the logic. He was fine with that.
Moreover below is the proper Python program to check if the IP address is valid or not. (I learned it after coming from the interview.)
import re regexIP = '''^(25[0-5]|2[0-4][0-9]|[0-1]?[0-9][0-9]?)\.( 25[0-5]|2[0-4][0-9]|[0-1]?[0-9][0-9]?)\.( 25[0-5]|2[0-4][0-9]|[0-1]?[0-9][0-9]?)\.( 25[0-5]|2[0-4][0-9]|[0-1]?[0-9][0-9]?)''' def validateIP(strIP): if(re.search(regexIP, strIP)): print("Valid IP address") else: print("Invalid IP address") if __name__ == '__main__' : strIP = "18.104.22.168" validateIP(strIP) strIP = "22.214.171.124" validateIP(strIP) strIP = "2126.96.36.199" validateIP(strIP)
Valid IP address Valid IP address Invalid IP address
If you know the regular expression or logic, it is easy to build it with the re Python module. Similarly, they can ask you to validate the IPv6 or MAC address.
What is a generator in Python?
Answer: Explain the interviewer Python generator by giving an example.
Write a Python program to print the square of each number from the given list using a generator.
You can use the yield keyword to return the value from the generator.
def myGen(myList): yield myList*myList yield myList*myList yield myList*myList myList=[1, 2, 3] for val in myGen(myList): print(val)
1 4 9
What is list compression and explain with an example?
Answer: It is an advanced method for creating a Python list. Learn more about list compression syntax and examples.
Example: Write a program to generate the list having elements 0 to 9 using the list compression technique.
myList=[x for x in range(0, 10)] print(myList)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Then she asked more questions on the following advanced Python topics.
These are some advanced Python techniques. Prepare well.
Then she moved to the REST APIs and asked various questions.
What is RESTful APIs?
REST is the architectural style of the API. It is an abbreviation of REpresentational State Transfer. Explained him architecture and characteristics of REST APIs.
List down different HTTP methods used in REST.
Answer: REST is the protocol that uses the HTTP protocol internally. Different HTTP methods that we can use with the REST are GET, POST, PUT, DELETE, HEAD, OPTIONS.
What is the difference between PUT and POST methods used in REST APIs?
Both PUT and POST methods are used in RESTful APIs for creating resources.
Here is the main difference between the two.
- The PUT method is idempotent. This means, if you call the PUT request multiple times, it generates the same result. Example: If you call PUT method N times to create a resource, it generates a single resource.
- Whereas, the POST method is not idempotent. If you call POST method N times, it creates N resources.
What is the PATCH method?
Answer: This is different from the PUT and POST methods. PUT and POST methods are generally used to create the resources. The PATCH method is used to make partial changes in existing resources using HTTP URI.
What is the difference between REST and SOAP web services?
Answer: Explain how the REST API is more advanced and acceptable over SOAP. For detail, read the difference between REST and SOAP APIs.
What is Jenkins and how you use it?
Answer: I had mentioned Jenkins in my project. So she asked me a couple of questions on this. It is an automation tool used for automating build, test, and deploy process. Many of the companies use Jenkins as it is an open-source and standard.
They asked me questions on my MTech project which is related to the Arduino board.
Answer: I explained detail about my projects like working, architecture and different protocols used.
They will ask you questions from the project you have mentioned in the CV. Be prepared for it.
How to prepare for the Juniper Networks interview?
All three technical interview was F2F. In each interview round, there was only one interviewer.
Each interview was for almost 40 minutes with a two-minute break.
Refer to Python interview questions and answers. It covers almost all the Python interview questions. If you learn each question and answer, you can crack technical interviews very easily whether it is for Juniper or any other company.
In the meeting room, there was a big whiteboard. For all Juniper Networks interview questions, they asked to write code for it. In that case, you don’t need to write the exact code. They check your knowledge and problem-solving approach.
Managerial and HR Interview Questions
After completing three back-to-back technical interviews, I was asked for managerial interview on the same day.
Here are some of the questions I remember.
- Why do you want to switch the company?
- What do you do on weekends?
- What will you choose or which is more important to you- money, project or company?
Answer: There can not be a director answer to this question. You can explain how money, project, and company all three are important in career.
- Then he asked a couple of questions related to the project currently I’m working on.
- Is there any question for me?
It was more like a friendly discussion. But you have to be very conscious while answering these questions. They usually observe your behavior and approach.
To attend any HR or managerial round, prepare for these kinds of HR interview questions.
After completing four rounds, the Manager said that I will receive a call from the HR team within a week. Currently, I waiting for it.
Editor’s Note: Thanks Niket M. for sharing Juniper Networks interview questions. Your personal experience will help many job seekers. We wish you all the best.