Sobes.tech

SRE / Platform Engineer

What happens if you manually delete StatefulSet and DaemonSet pods?

250

What are standard input/output streams in Linux (stdin, stdout, stderr) and how can you redirect or suppress them?

Senior
249

Through which channels and systems do inquiries come: task tracker, email, chat, or service desk?

248

What controls the number of pods?

248

How do you determine the error type when interacting with an external API?

247

Can one inode have multiple file descriptors?

Middle
247

What does the execute (x) permission mean for a directory?

246

Do you prefer creating new functionality or analyzing and supporting existing?

246

How to diagnose a crashing container in a pod (CrashLoopBackOff)?

246

What is the difference between list and tuple in Python?

245

What types of networks are available in Docker?

243

How is work tracked in this position: timesheets, hours accounting, or employee monitoring systems?

242

Was there time tracking at your previous job, and how was it organized?

242

What is a StatefulSet?

Middle
241

How to restore the execute flag on the chmod command if we accidentally removed it from the chmod command itself?

Middle
241

What points should be included in the post-mortem?

238

1. Write the Python object "switches" to YAML format 2. Transform "switches" so that it only contains "cisco" switches 3. Use the standard module ipaddress to get the last host address in the network "172.16.0.0/28" 4. Parse "dhcp_snooping_table" into a list of dictionaries: dhcp_snooping_table_parsed = [ { "mac": "00:E9:8C:3F:A6:50", "ip": "100.1.1.6", "interface": "FastEthernet0/20", }, { "mac": "00:E9:22:11:A6:50", "ip": "100.1.1.7", "interface": "FastEthernet0/21", } ] 5. Write a class "NetworkSubnet" with 2 methods: get_subnet - returns the first available subnet of the specified length as an IPv4Network object show_network_pool - returns a list of available subnets from ipaddress import IPv4Network class NetworkSubnet: def __init__(self, aggregate_network: str): def get_subnet(self, length: int) -> IPv4Network: def show_network_pool(self) -> list[IPv4Network]: net = NetworkSubnet(aggregate_network="172.16.0.0/24") net_1 = net.get_subnet(length=26) print(f"{net_1=}") net_1=IPv4Network('172.16.0.0/26') print(net.get_subnet(length=25)) 172.16.0.128/25 print(net.get_subnet(length=30)) 172.16.0.64/30 print(net.show_network_pool()) [IPv4Network('172.16.0.0/30'), IPv4Network('172.16.0.72/29'), IPv4Network('172.16.0.80/28'), IPv4Network('172.16.0.96/27')]

238

How to update a package in CentOS? Are you familiar with DNF?

Middle
238
/17