Which command is used to trace the route of packets to a remote server in Ubuntu?
Anonymous Quiz
86%
Use 'traceroute server_address'
9%
Run 'nettrace server_address'
3%
Type 'packetroute trace'
3%
Use 'pingroute -trace'
🙏1
Forwarded from DevOps(Document Repository)
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1🔥1
What command would you use to build a Docker image directly within an OpenShift cluster using source code from a Git repository?
Anonymous Quiz
37%
oc new-app --docker-image
23%
oc new-build --strategy=docker --binary
29%
oc new-build --strategy=docker --source
11%
oc new-build --from-repo
❤2
Which command can be used to make variables of shell to be made available to sub shell?
Anonymous Quiz
17%
import
50%
export
16%
echo
16%
set
👌1
The default location of the ansible.cfg file is:
Anonymous Quiz
25%
/etc/ansible.cfg
33%
/etc/ansible/ansible.conf
36%
/etc/ansible/ansible.cfg
6%
/home/ansible/ansible.cfg
👌2
How do you enable IP masquerading in Ubuntu for NAT configuration?
Anonymous Quiz
80%
Use 'sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE'
10%
Run 'nat-enable'
5%
Type 'ipmasq add'
4%
Use 'netmasquerade -config'
❤2
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
77%
COPY
5%
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'
17%
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