What is the function of the `RUN` instruction in a Dockerfile?
Anonymous Quiz
55%
To run a command in the container after it starts
42%
To install or configure applications in the image build process
2%
To define environment variables
1%
To set a working directory
❤1🐳1
Which command is used to archive multiple files into a tar archive in Ubuntu?
Anonymous Quiz
94%
Use 'tar -cvf archive_name.tar file1 file2'
3%
Run 'createarchive files'
2%
Type 'archiver -add'
1%
Use 'packfiles'
❤4
Which command is used to schedule a one-time task to run at a specific time in Ubuntu?
Anonymous Quiz
53%
Use 'at HH:MM' followed by the command
30%
Run 'task-schedule HH:MM'
4%
Type 'one-time-task set'
12%
Use 'runat time command'
❤2👍2
Choose the system requirements you need to run Docker on a Plesk Onyx Server:
Anonymous Quiz
23%
20GB of free disk space
35%
At least 2GB of RAM
28%
A compatible Linux OS
9%
A 64-bit CPU
5%
One physical server
❤1
You need to deploy a stateful application using Docker that requires persistent data storage. Which approach provides the best balance of performance and maintainability?
Anonymous Quiz
12%
Store all data inside the container
57%
Implement named volumes with a clear backup strategy
22%
Use bind mounts to the host filesystem
10%
Store all state in an external service outside Docker
❤2
How to copy a file from a docker container to the local system.
Anonymous Quiz
88%
$ sudo docker cp
4%
$ sudo docker cut
8%
$ sudo docker copy
❤1🍾1
Which command is used to view all Docker images stored on the local machine?
Anonymous Quiz
37%
docker ps -a
54%
docker images
4%
docker ls
6%
docker show images
❤1
How do you configure a persistent static route in Ubuntu?
Anonymous Quiz
78%
Edit '/etc/netplan/*.yaml' to add the route and apply changes with 'sudo netplan apply'
12%
Run 'route add-persistent'
5%
Type 'set-static-route'
5%
Use 'netcfg static-route'
👌3❤2
#Linux
Inside the Linux Kernel
➖➖➖➖➖➖➖➖➖➖➖➖➖
Group:
🟡 https://news.1rj.ru/str/DevopsDocGP
Channel:
🔴 https://news.1rj.ru/str/DevopsDoc
Inside the Linux Kernel
➖➖➖➖➖➖➖➖➖➖➖➖➖
Group:
🟡 https://news.1rj.ru/str/DevopsDocGP
Channel:
🔴 https://news.1rj.ru/str/DevopsDoc
👌3🙏1
Which tool does OpenShift use for container orchestration?
Anonymous Quiz
29%
Docker Swarm
56%
Kubernetes
8%
Mesos
7%
Nomad
🤩2
Which command is used to configure a system as an NFS server in Ubuntu?
Anonymous Quiz
75%
Install 'nfs-kernel-server' and edit '/etc/exports' to configure shared directories
12%
Run 'nfs-setup'
3%
Type 'share-folder nfs'
10%
Use 'nfs-server-config'
👌2❤1
How can OpenShift administrators map Keycloak groups to OpenShift RBAC roles?
Anonymous Quiz
46%
Using RoleBinding mappings
33%
By setting up group claims in Keycloak
14%
Via LDAP integration
7%
With OAuth redirects
🤩3
What is the default termination grace period for a pod if `terminationGracePeriodSeconds` is not specified?
Anonymous Quiz
47%
30 seconds
32%
60 seconds
10%
90 seconds
11%
120 seconds
❤1
#Kubernetes
Kubernetes Pod Anatomy
➖➖➖➖➖➖➖➖➖➖➖➖➖
Group:
🟡 https://news.1rj.ru/str/DevopsDocGP
Channel:
🔴 https://news.1rj.ru/str/DevopsDoc
Kubernetes Pod Anatomy
➖➖➖➖➖➖➖➖➖➖➖➖➖
Group:
🟡 https://news.1rj.ru/str/DevopsDocGP
Channel:
🔴 https://news.1rj.ru/str/DevopsDoc
👏2❤1
How can you monitor Docker in production?
Anonymous Quiz
14%
You can use Docker tools such as Docker pin and docker file for monitoring
49%
You can use Docker tools such as Docker logs and docker plugins for monitoring
37%
You can use Docker tools such as Docker events and docker stats for monitoring
❤3
How do you copy an entire directory along with its contents in Ubuntu?
Anonymous Quiz
92%
Use 'cp -r /source/directory /destination/directory'
3%
Run 'copy-dir'
3%
Type 'dir-copy'
2%
Use 'copy-folder -all'
❤3😍1
What is the option to mention field separator for the command ‘cut’
Anonymous Quiz
31%
-f
33%
-c
27%
-d
9%
\0
❤7
How do you list all available disks and their partitions in Ubuntu?
Anonymous Quiz
83%
Use 'lsblk'
9%
Run 'list-disks'
6%
Type 'show-partitions'
2%
Use 'view-disks'
❤3
What does PVC stand for?
Anonymous Quiz
10%
Pod Volume Claim
34%
Persistent Volume Container
48%
Persistent Volume Claim
8%
Pod Volume Container
❤2
Which pod phase indicates that a pod has been created but no containers are running?
Anonymous Quiz
67%
Pending
11%
Running
17%
Succeeded
5%
Failed
❤2
When started for the first time, minikube requires Internet access. True or False?
Anonymous Quiz
75%
True
25%
False