Sobes.tech
Junior — Middle

What programming languages have you used in your practice?

sobes.tech AI

Answer from AI

In DevOps practice, the following programming languages are often used:

  • Python — for automation, scripting, and infrastructure management.
  • Bash — for writing shell scripts in Linux environments.
  • Go — for developing high-performance tools and microservices.
  • Ruby — sometimes used in automation tools, for example, Chef.

Example of a simple Python script to check server availability:

import requests
response = requests.get('https://example.com')
if response.status_code == 200:
    print('Server is available')
else:
    print('Server issues')