A team needs to implement a robust error handling strategy for their Terraform automation. Which approach would be most effective?
Anonymous Quiz
12%
Ignore errors and continue
79%
Implement staged operations with error detection and rollback capabilities
5%
Restart the entire process when errors occur
3%
Switch to manual deployment when errors occur
❤1
In Docker, what is the purpose of the `docker exec` command?
Anonymous Quiz
11%
To start a new container
85%
To execute commands inside a running container
0%
To restart a stopped container
3%
To build an image from a Dockerfile
❤4
Which command is used to list all available system services and their statuses in Ubuntu?
Anonymous Quiz
87%
Use 'systemctl list-units --type=service --all'
10%
Run 'list-services-all'
3%
Type 'show-services status'
0%
Use 'service-view'
❤2
What command would you use to initialize a new Docker Swarm?
Anonymous Quiz
84%
docker swarm init
9%
docker swarm create
5%
docker swarm start
2%
docker swarm deploy
❤2
How do you set up a PXE boot server in Ubuntu?
Anonymous Quiz
69%
Install 'dnsmasq' and configure '/etc/dnsmasq.conf' for PXE
17%
Run 'pxe-setup'
8%
Type 'netboot-config'
5%
Use 'pxeinit -network'
❤2
What is the command line interface used to communicate with Kubernetes?
Anonymous Quiz
10%
kubeapi
13%
kubelet
4%
k8sctl
73%
kubectl
❤5
What is the purpose of the 'systemctl' command in Linux?
Anonymous Quiz
6%
Check disk space
88%
Manage system services
1%
Create user accounts
5%
Install software packages
❤3
Which of the following best describes the purpose of oc set image in OpenShift?
Anonymous Quiz
75%
To modify the image of a DeploymentConfig or pod
17%
To create a new ImageStream
6%
To scale an application horizontally
2%
To expose a pod to external traffic
❤4
How do you display detailed hardware information about the system in Ubuntu?
Anonymous Quiz
59%
Use 'lshw'
27%
Run 'hwinfo'
6%
Type 'hardware-view'
9%
Use 'show-hw-details'
❤2
You are troubleshooting a Docker container that is failing to start due to a port conflict. What steps can you take to resolve this issue?
Anonymous Quiz
57%
Check if another container is using the same port
24%
Change the port mapping in the Dockerfile
17%
Use a different host port for the container
2%
Stop and remove the conflicting container
🙏3❤1
Which symbol is used to create a pipeline between two commands?
Anonymous Quiz
83%
|
5%
>
2%
<
11%
&
❤3
Which of the following is a hosted service that provides a Registry with build and testing facilities for Dockerized application images, tools to help you set up and manage your host infrastructure.
Anonymous Quiz
22%
Docker Cloud
23%
Docker Compose
49%
Docker Hub
6%
Docker Universal Control Plane
❤3
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