Which command is used to restart a service in Ubuntu?
Anonymous Quiz
94%
Use 'sudo systemctl restart service_name'
3%
Run 'service restart'
1%
Type 'restart-service'
2%
Use 'sys restart'
You want to monitor the real-time log messages generated by the system on a Linux server. Which command-line tool should you use?
Anonymous Quiz
44%
tail
6%
cat
8%
grep
42%
journalctl -f
❤1
How do you mount an external drive to a specific directory in Ubuntu?
Anonymous Quiz
95%
Use 'sudo mount /dev/sdX /mnt/directory_name'
3%
Run 'mount-drive directory'
1%
Type 'attach-drive directory_name'
1%
Use 'mount-external dir'
❤2
Which of the K8s resources do not associate with any namespace?
Anonymous Quiz
33%
DaemonSets
25%
Persistent Volumes
10%
ReplicaSets
28%
Nodes
4%
Services
❤2
How do you set up a PXE boot server in Ubuntu?
Anonymous Quiz
73%
Install 'dnsmasq' and configure '/etc/dnsmasq.conf' for PXE
16%
Run 'pxe-setup'
10%
Type 'netboot-config'
2%
Use 'pxeinit -network'
🙏1
What is the mission of the control plane in Kubernetes?
Anonymous Quiz
39%
To manage clusters of pods
42%
It makes sure that the actual state of system objects match the desired state.
3%
To move workloads from one host to another
16%
To control nodes
😍1
Which command is used to display the current working directory in Ubuntu?
Anonymous Quiz
92%
Run 'pwd'
4%
Use 'currentdir'
3%
Type 'cwd'
2%
Run 'showdir'
❤1😍1
How to remove the docker image with the docker image id mentioned in the command
Anonymous Quiz
63%
$ docker rmi fce289e99eb9
35%
$ docker rmi -rf fce289e99eb9
2%
$ docker rmi rf fce289e99eb9
❤1
Forwarded from DevOps(Document Repository)
Please open Telegram to view this post
VIEW IN TELEGRAM
Which of the following are core Kubernetes objects?
Anonymous Quiz
78%
Pods, Services, Volumes
6%
Pods, Docker, Volumes
6%
Pods, Services, Droplets
10%
None of the mentioned
❤3
How do you set up a PXE boot server in Ubuntu?
Anonymous Quiz
81%
Install 'dnsmasq' and configure '/etc/dnsmasq.conf' for PXE
12%
Run 'pxe-setup'
4%
Type 'netboot-config'
4%
Use 'pxeinit -network'
❤2
How do you add a new user in Ubuntu?
Anonymous Quiz
76%
Use 'sudo adduser username'
4%
Run 'createuser username'
0%
Type 'newuser username'
20%
Use 'useradd username'
❤1
Which command redirects both standard output and standard error to /dev/null?
Anonymous Quiz
79%
command > /dev/null 2>&1
8%
command 1> /dev/null
7%
command 2> /dev/null
6%
command | /dev/null
❤2
Which command allows you to check the status of all services managed by systemd?
Anonymous Quiz
92%
Use 'systemctl list-units --type=service'
3%
Run 'servicelist'
2%
Type 'listservices'
3%
Use 'show-services'
❤2
How do you configure a network interface with a static IP address using ifconfig in Ubuntu?
Anonymous Quiz
90%
Use 'sudo ifconfig eth0 IP_ADDRESS netmask NETMASK up'
4%
Run 'netset static'
5%
Type 'ifcfg static'
2%
Use 'netconfig -manual'
❤3
Which command is used to recover deleted files from an ext4 file system in Ubuntu?
Anonymous Quiz
81%
Use 'extundelete /dev/sdX --restore-all'
11%
Run 'recover-files ext4'
0%
Type 'undelete sdX'
8%
Use 'restore-data ext4'
❤5
What does HPA stand for in Kubernetes?
Anonymous Quiz
18%
Hyper Pod Autoscaler
16%
Horizontal Production Autoscaler
65%
Horizontal Pod Autoscaler
❤2🐳2
Forwarded from DevOps(Document Repository)
Please open Telegram to view this post
VIEW IN TELEGRAM
A team needs to implement disaster recovery for their Terraform state files. Which approach would be most robust?
Anonymous Quiz
15%
Keep a backup copy on a developer's laptop
76%
Implement S3 with versioning, replication, and regular testing
6%
Print state files and store them physically
4%
Recreate infrastructure from scratch if state is lost
😍4