You are troubleshooting a Docker container that is failing to start due to a 'port already in use' error. What could be a possible solution to resolve this issue?
Anonymous Quiz
76%
Change the port mapping in the Dockerfile
17%
Stop the service using the port on the host machine
4%
Restart the Docker daemon
3%
Use a different base image for the container
❤3🐳3🔥1
Which of the following are true for a pod in Kubernetes?
Anonymous Quiz
18%
A Pod represents processes running on your Cluster
71%
Pods are the simplest units in the Kubernetes object model that you create or deploy
7%
A pod is the same as a container
4%
You can have only 1 container running in 1 pod
❤5
How do you list all available disks and their partitions in Ubuntu?
Anonymous Quiz
83%
Use 'lsblk'
9%
Run 'list-disks'
5%
Type 'show-partitions'
2%
Use 'view-disks'
❤3👌1
Which instruction in a Dockerfile defines environment variables?
Anonymous Quiz
8%
CMD
8%
ENTRYPOINT
82%
ENV
2%
RUN
❤2
What does the command top show
Anonymous Quiz
9%
The space usage
12%
The memory usage
75%
The current processes alongside information about them
3%
Nothing, it's not a command
❤1
Which command is used to schedule a task to run at a specific time using cron in Ubuntu?
Anonymous Quiz
89%
Use 'crontab -e' and add the schedule and command
6%
Run 'schedule-task cron'
2%
Type 'task-schedule time'
3%
Use 'set-cronjob'
❤2
A development team is struggling with inconsistent behavior between development and production environments despite using Docker. Which approach would most effectively solve this problem?
Anonymous Quiz
16%
Have developers use the same operating system as production
76%
Implement Docker Compose with version-pinned dependencies and environment controls
4%
Deploy to production more frequently
4%
Create detailed documentation about the differences
👍4🙏1
Which of the following answers refers to a software tool used for searching and installing software packages on Debian and Debian-based Linux distributions?
Anonymous Quiz
14%
rpm
10%
apt-rpm
18%
yum
59%
apt-get
❤3
How do you install multiple packages in Ubuntu using apt?
Anonymous Quiz
88%
Use 'sudo apt install package1 package2 package3'
5%
Run 'install-multiple package1 package2'
6%
Type 'apt-get multiple install'
1%
Use 'multi-install apt'
❤4
What is kubectl drain used for?
Anonymous Quiz
80%
To safely evict all of your pods from a node before performing maintenance on the node
12%
To stop all running containers in a pod
8%
To get the status of a specific node during maintenance
❤2
_________ service is automatically created for you K8s cluster creation and takes care of the internal routing of the cluster.
Anonymous Quiz
22%
NodePort
22%
Load Balancer
9%
Headless
46%
ClusterIP
❤3
guess what!!!!!!!!!!!!🥳
HBD to our LOVELY COMMUNITY !!!!🎉😍🤘🏂🔥❤️⚡️🎉
HBD to our LOVELY COMMUNITY !!!!🎉😍🤘🏂🔥❤️⚡️🎉
❤25
Which command allows you to view all scheduled cron jobs for a specific user?
Anonymous Quiz
86%
Use 'crontab -l -u username'
7%
Run 'cronjobs username'
5%
Type 'listcron username'
2%
Use 'showtasks username'
❤2
A team needs to provide infrastructure self-service capabilities to developers without giving direct Terraform access. Which approach would be most effective?
Anonymous Quiz
15%
Give developers full AWS console access
64%
Implement Terraform Cloud with a service catalog and VCS integration
13%
Have operations team handle all infrastructure requests
9%
Let developers run Terraform locally
👌1
Your organization is concerned about the security of the Docker daemon. Which approach would most effectively harden the daemon against attacks?
Anonymous Quiz
13%
Allow any user to run Docker commands
80%
Implement TLS authentication with user namespaces and restricted permissions
5%
Expose the Docker daemon API to the public internet
3%
Run all containers as root
How do you configure a network interface with a static IP address using ifconfig in Ubuntu?
Anonymous Quiz
84%
Use 'sudo ifconfig eth0 IP_ADDRESS netmask NETMASK up'
10%
Run 'netset static'
2%
Type 'ifcfg static'
3%
Use 'netconfig -manual'
❤5
How to list all pods that are either labelled with env=development or with env=production
Anonymous Quiz
84%
$ kubectl get pods -l 'env in (production, development)'
16%
$ kubectl get pods 'env in (production, development)'
❤3
What is a load balancer in Kubernetes?
Anonymous Quiz
25%
load balancer is a method for seperating service
51%
load balancer is a method for exposing service
24%
load balancer is a method for partitioning service
❤3
How to get detailed information about docker installed on the system including the kernel version, number of containers and images, etc.
Anonymous Quiz
60%
$ docker --info
5%
$ docker information
35%
$ docker info
❤2
Which command allows you to enable packet capture on a specific network interface in Ubuntu?
Anonymous Quiz
88%
Use 'sudo tcpdump -i interface_name'
9%
Run 'netcapture interface'
3%
Type 'pkttrace -int'
1%
Use 'capture -network'
❤2