Often there is a need to run a task across a set of machines. The list of IP addresses for these machines could come from different sources and therefore be in different formats. Starting with a file that contains mainly IP addresses, one per line, your task is to write a function that converts the list of IP addresses into a comma separated list of IP address, ignoring any line that starts with a # and ignoring any line that does not contain a valid IP address. Input: A sample inventory file which may contain various text and comments along with valid and invalid IP addresses. For example: [zone1] 10.171.102.174 #10.171.102.195 10.171.102.182 [zone2] 10.171.3.172 10.171.3.21 #10.171.3.224 Output: The list of IP addresses separated by commas. For the above example, that would be: 10.171.102.174,10.171.102.182,10.171.3.172,10.171.3.21
Site Reliability Interview Questions
2,640 site reliability interview questions shared by candidates
Can you please tell me about some popular cloud automation tools, and describe their potential use?
Cuál es el trabajo que desempeñas actualmente ?
Qual é seu nível de inglês?
In terms of technical stuff? None. See rant, above.
1/20 requests are failing in this stack (drawn application stack containing LB, frontend, backend, DB) talk me through finding the problem
How is memory handled in Python? How does a garbage collector work?
Describe a project you've worked on
Q: How would you troubleshoot network packets reaching some parts of the network and not others?
Q: How would you troubleshoot network packets reaching some parts of the network and not others?
Viewing 1171 - 1180 interview questions