A containerized application is experiencing unexpected shutdowns in production. Upon investigation, you notice the container is being terminated with exit code 137. Which approach would most effectively resolve this issue?
Anonymous Quiz
23%
Increase logging verbosity within the application
69%
Configure appropriate memory limits and implement graceful shutdown handling
7%
Restart the container more frequently
2%
Disable all health checks on the container
❤2
How do you view audit logs generated by the auditd service in Ubuntu?
Anonymous Quiz
49%
Use 'sudo ausearch -i'
32%
Run 'audit-logs view'
8%
Type 'audit-check'
11%
Use 'view-system-audit'
❤1
How do you rename a directory in Ubuntu?
Anonymous Quiz
85%
Use 'mv old_directory_name new_directory_name'
9%
Run 'renamedir old_directory_name new_directory_name'
3%
Type 'changedirname old_directory_name new_directory_name'
3%
Use 'movedir old_directory_name new_directory_name'
❤3
Docker containers and images are included in Plesk Backup and migrated by Plesk Migrator.
Anonymous Quiz
64%
True
36%
False
👌1
_______ manages the assigning nodes to pods depending on resource availability.
Anonymous Quiz
15%
Etcd
2%
Flanneld
64%
Scheduler
19%
Kubectl
👌1
Your organization is concerned about the security of the Docker daemon. Which approach would most effectively harden the daemon against attacks?
Anonymous Quiz
11%
Allow any user to run Docker commands
84%
Implement TLS authentication with user namespaces and restricted permissions
1%
Expose the Docker daemon API to the public internet
3%
Run all containers as root
👌1
Forwarded from DevOps(Document Repository)
Please open Telegram to view this post
VIEW IN TELEGRAM
😍1
How do you view the system log file in Ubuntu?
Anonymous Quiz
93%
Use 'sudo cat /var/log/syslog'
3%
Run 'syslog-view'
1%
Type 'logstatus'
2%
Use 'view-logs'
❤1
How to install a docker plugin vieux/sshfs with debug environment set to 1.
Anonymous Quiz
53%
$ docker plugin install vieux/sshfs DEBUG=1
24%
$ docker install vieux/sshfs DEBUG=1
23%
$ docker install plugins vieux/sshfs DEBUG=1
🤩1
What is a load balancer in Kubernetes?
Anonymous Quiz
22%
load balancer is a method for seperating service
54%
load balancer is a method for exposing service
24%
load balancer is a method for partitioning service
❤1🙏1
Which instruction in a Dockerfile copies files from the host into the image?
Anonymous Quiz
8%
RUN
10%
ADD
78%
COPY
4%
FROM
🙏2
Which command allows you to create a new partition on a GPT disk in Ubuntu?
Anonymous Quiz
67%
Use 'sudo parted /dev/sdX mkpart partition_name start end'
11%
Run 'gptcreate partition sdX'
6%
Type 'mkpartgpt'
16%
Use 'diskpart -gpt'
❤1
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
41%
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
36%
$ docker rmi -rf fce289e99eb9
2%
$ docker rmi rf fce289e99eb9
❤1