How do you disable a user account in Ubuntu?
Anonymous Quiz
77%
Use 'sudo usermod -L username'
11%
Run 'disableuser username'
4%
Type 'lockaccount username'
8%
Use 'userdisable username'
Which command is used to view all Docker images stored on the local machine?
Anonymous Quiz
40%
docker ps -a
49%
docker images
6%
docker ls
5%
docker show images
❤2
How to kill a container?
Anonymous Quiz
11%
docker terminated <container_id>
80%
docker kill <container_id>
9%
$ docker --kill <container_id>
How do you set kernel parameters at runtime in Ubuntu?
Anonymous Quiz
74%
Use 'sudo sysctl -w parameter=value'
17%
Run 'kernelconfig parameter=value'
4%
Type 'setkernel param'
5%
Use 'kernelmod -set'
❤4
A team needs to implement a solution for sharing common Terraform modules across multiple projects. Which approach would be most maintainable?
Anonymous Quiz
16%
Copy modules into each project that needs them
67%
Implement a private module registry with versioning and documentation
7%
Use public modules exclusively
11%
Put all code in a single repository
❤3
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