Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
658
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. # coding: utf-8
  2. from questionnaire import Questionnaire
  3. from questionnaire.prompters import QuestionnaireGoBack
  4. import sys
  5. import time
  6. from time import sleep
  7. q = Questionnaire(can_go_back=True)
  8.  
  9. print(
  10. '''
  11. ...............................................................................
  12. ...............................................................................
  13. ...............................................................................
  14. ...........-.........+#######*.....-...........................................
  15. ..........*#+.......*#######+.....:#*........::-.....-......-..-......-........
  16. .........-###+.....=#######:.....+###:....*=-...:=+.-#-....:=.-#.....:=........
  17. .........+####*..-########-..=#######*...+*.......=:.:=...-#-.-#.....:=........
  18. .........+#####=-########-..=########*...*+.......*+..**..=:..-#=======........
  19. .........-#############=..-##########:...+=.......#:...=:**...-#.....:=........
  20. ..........*###########*...::+#######=.....+=:...+#:....-#=....-#.....:=........
  21. ...........*#########*.....-#######=.........--................................
  22. ............:+++++++:.....-+++++++:............................................
  23. ...............................................................................
  24. '''
  25. )
  26.  
  27. print("Welcome to the OVH Cloud Support Engineer Interview Quiz.")
  28. time.sleep(3)
  29. print("You will be asked a list of questions for us to better evaluate your abilities.")
  30. time.sleep(3)
  31. print("Veuillez répondre dans le language de la question.")
  32. time.sleep(3)
  33. print("All your answers will be saved under the answers.txt file.")
  34. time.sleep(3)
  35. print("At any time during the quiz you can type the key < and press enter to go to the last question.")
  36. time.sleep(3)
  37. print("Good Luck!")
  38. print("")
  39. raw_input("Press Enter to continue...")
  40.  
  41. q.raw('1.', prompt='Quelles sont tes forces en informatique?')
  42. q.raw('2.', prompt='What about this job appeals to you?')
  43. q.raw('3.', prompt='Quelle est la différence entre le PaaS, le SaaS et le IaaS?')
  44. q.raw('4.', prompt='Quelles sont les forces et les aspects intéressants du Cloud?')
  45. q.one('5.', 'shell', 'kernel', 'command', 'terminal', prompt='What is the core of Linux Operating System?')
  46. q.raw('6.', prompt='What is the difference between a VPS and a dedicated server?')
  47. q.raw('7.', prompt='I have this server which seems to drop off the local net every so often, and comes back on its own. How would you debug this?')
  48. q.one('8.', 'cd', 'vi', 'vim', 'nano', prompt='Choose the odd one out')
  49. q.one('9.', '1 TB', '2 TB', '4 TB', 'None of the above', prompt='A server contains two 2TB hard drives in raid 1, how much disk space is available to use?')
  50. q.one('10.', 'HTTP & HTTPS', 'RDP & SSH', 'FTPs & SSH', 'SSH & FTP', prompt='Towards which services do ports 3389 and 22 point by default?')
  51. q.one('11.', 'vMotion', 'High-Availability', 'Distributed Resource Scheduler', 'Fault Tolerance', prompt='Which function, in VMware vCenter, will run a simultaneous instance of a given virtual machine in order to avoid any kind of downtime should the original VM fail?')
  52. q.one('12.', 'DNS Server', 'Active Directory Server', 'NTP Server', 'Redirection Server', prompt='What kind of server should you thank for not having to type an IP address every time you wish to access a website, and can instead type its name (such as troubleshooting.com)?')
  53. q.raw('13.', prompt='Which managed services have you used in the past?')
  54. q.raw('14.', prompt='Explain different models for deployment in cloud computing?')
  55. q.one('15.', 'Thin', 'Thick', 'Lazy Zero Thick', 'Eager Zero Thick', prompt='Which disk provisioning DOES NOT setup the full space requested reserved for that server in VMware?')
  56. q.raw('16.', prompt='How would you change to one directory above the current working directory in Linux?')
  57. q.one('17.', '2', '3', '4', '5', prompt='How many controllers should be configured in NSX at the bare-minimum VMware requirement')
  58. q.raw('18.', prompt='What is an hypervisor?')
  59. q.raw('19.', prompt='Explain VMware DRS?')
  60. q.raw('20.', prompt='What is Cold and Hot Migration?')
  61. q.raw('21.', prompt='Explique le terme NFS?')
  62. q.raw('22.', prompt='Quelles sont les fonctionnalités de la Edge NSX?')
  63. q.raw('23.', prompt='Explain North-South and East-West routing')
  64. print("")
  65. print("Thank you!")
  66.  
  67. q.run()
  68. sys.stdout = open('answers.txt', 'w')
  69. print(q.format_answers(fmt='plain'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement