How do you configure persistent static routes in Ubuntu?
Anonymous Quiz
79%
Edit '/etc/netplan/*.yaml' and add static route information
10%
Run 'route-persist config'
8%
Type 'staticroute add'
2%
Use 'permaroute set'
👍2👌2
Linux_shell_noscripting_Comprehensive_Guide_1746178501.pdf
5.1 MB
#Linux
#Shell
➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖
Group:
©️ https://news.1rj.ru/str/DevopsDocGP
Channel:
©️ https://news.1rj.ru/str/DevopsDoc
#Shell
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1👍1
A team needs to deploy a containerized application that requires specific kernel features. Which approach would be most appropriate?
Anonymous Quiz
28%
Modify the application to avoid kernel dependencies
47%
Implement compatibility testing with privileged capabilities and kernel verification
7%
Run the application directly on the host instead of in containers
17%
Use virtual machines instead of containers
👌5
A team needs to implement access controls for their Terraform infrastructure. Which approach would be most secure?
Anonymous Quiz
14%
Share admin credentials among the team
75%
Implement a role-based access model with pipeline-based execution
6%
Let each team member use their personal credentials
6%
Run all Terraform operations from a single workstation
❤2👌1
Which is not true about Docker Hub?
Anonymous Quiz
26%
Docker Hub is the world's largest library and community for container images
18%
Docker Hub provides an easy way to create, manage, and deliver your teams' container applications
56%
Docker Hub is a totally private repository
🐳2👌1🍾1
A team's containerized application requires specific configuration for different deployment environments. Which implementation would be most maintainable?
Anonymous Quiz
47%
Build different container images for each environment
48%
Implement configuration injection with environment detection
2%
Hardcode configuration paths in the application
3%
Manually modify configuration files after deployment
👌3
How do you display running processes with detailed information in Ubuntu?
Anonymous Quiz
82%
Use 'ps aux'
14%
Run 'showproc -all'
1%
Type 'procview detail'
3%
Use 'displayproc'
👌3👍1
If the Plesk server can't run Docker locally, you can still connect to a remote Docker server to manage containers. You'll need:
Anonymous Quiz
21%
A virtuozzo 6 container
26%
One separate ready-to-code environment
8%
A Windows Server
44%
The Plesk Docker extension
👌2
Which command will you use to run a playbook called install.yaml with Ansible?
Anonymous Quiz
65%
ansible-playbook install.yml
6%
ansible install.yml
19%
ansible --playbook install.yml
10%
ansible -p install.yml
❤3
A virtual filesystem created dynamically by Linux that contains information about system resources is:
Anonymous Quiz
48%
/proc
12%
/boot
9%
/mkdir
31%
/system
❤2
A team needs to implement proper versioning for their Docker images. Which approach would be most maintainable?
Anonymous Quiz
37%
Always use the latest tag for all images
54%
Implement semantic versioning with immutable tags and metadata
5%
Create new repositories for each image version
3%
Use random hash values as tags
👌3
How do you repair a corrupted ext4 filesystem in Ubuntu?
Anonymous Quiz
80%
Use 'sudo fsck -f /dev/sdX'
10%
Run 'repair-filesystem sdX'
8%
Type 'fs-repair ext4'
2%
Use 'restore-fs sdX'
❤2
A team needs to ensure that their containerized application can handle graceful shutdowns. Which implementation would be most effective?
Anonymous Quiz
23%
Kill containers immediately when they need to be stopped
51%
Implement proper signal handling with a suitable init process
13%
Restart containers automatically when they stop
13%
Use the --force flag when stopping containers
👌3
How do we access the value of 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
Anonymous Quiz
20%
$a[0]
52%
$a[3]
12%
$a[2]
3%
$a[1]
13%
$a[4]
❤2
How do you determine which processes are using the most memory in Ubuntu?
Anonymous Quiz
83%
Use 'top' and look at the %MEM column
9%
Run 'memusage'
4%
Type 'memorycheck'
4%
Use 'procstat'
❤3
Which configuration option in `openshift-kube-apiserver` sets the maximum size for a request body?
Anonymous Quiz
55%
--max-request-body-bytes
25%
--max-payload-size
9%
--max-request-bytes
11%
--request-body-limit
❤2
How do you forcefully remove a locked package in Ubuntu?
Anonymous Quiz
77%
Use 'sudo dpkg --remove --force-remove-reinstreq package_name'
14%
Run 'apt-forceremove package_name'
3%
Type 'remove-package locked'
6%
Use 'force-uninstall package'
❤2👍2
Following Docker command: docker commit -m "My first update" container_ID user_name/repository_name is used to:
Anonymous Quiz
13%
Activate default VM machine
76%
Commit changes done in a Docker image
8%
Build an image
2%
Access a running container
❤2
Your team needs to manage container configurations in a complex environment. Which approach would provide the best maintainability and flexibility?
Anonymous Quiz
16%
Hardcode all configuration options in the Dockerfile
72%
Implement a layered configuration approach with environment variables and config files
7%
Rebuild images with different configurations for each deployment
5%
SSH into containers to change configuration files manually
❤2