DCA Exam Questions
166 real DCA exam questions with expert-verified answers and explanations. Page 3 of 4.
- Question #101Container Orchestration
Does this command display all the pods in the cluster that are labeled as 'env: development'? Solution: 'kubectl get pods --all-namespaces -label env=development'
kubectl commandsKubernetes labelsPod managementCommand syntax - Question #102Container Orchestration
Does this command display all the pods in the cluster that are labeled as 'env: development'? Solution: 'kubectl get pods --all-namespaces -I env=development'
kubectl commandspod labelingresource filteringnamespace awareness - Question #103Storage and Volumes
Will this command display a list of volumes for a specific container? Solution: 'docker container inspect nginx'
docker inspectcontainer detailsvolumescontainer management - Question #104Storage and Volumes
Will this command display a list of volumes for a specific container? Solution: docker volume logs nginx --containers'
Docker VolumesCommand SyntaxVolume Management - Question #105Storage and Volumes
Will this command display a list of volumes for a specific container? Solution: docker volume inspect nginx'
Docker volumesdocker volume inspectContainer storageCommand usage - Question #106Storage and Volumes
Will this command display a list of volumes for a specific container? Solution: docker container logs nginx --volumes'
Docker commandsContainer logsVolumes managementCommand syntax - Question #107Security
Does this describe the role of Control Groups (cgroups) when used with a Docker container? Solution: user authorization to the Docker API
cgroupsResource managementContainer isolationDocker API security - Question #108Installation and Configuration
Does this describe the role of Control Groups (cgroups) when used with a Docker container? Solution: role-based access control to clustered resources
cgroupsResource ManagementContainer IsolationLinux Kernel - Question #109Installation and Configuration
Does this describe the role of Control Groups (cgroups) when used with a Docker container? Solution: accounting and limiting of resources
cgroupsResource ManagementContainer Isolation - Question #110Networking
Will this command ensure that overlay traffic between service tasks is encrypted? Solution: docker network create -d overlay -o encrypted=true <network-name>
overlay networknetwork encryptiondocker network createDocker Swarm networking - Question #111Networking
Will this command ensure that overlay traffic between service tasks is encrypted? Solution: docker network create -d overlay --secure
Docker NetworkingOverlay NetworksNetwork Encryptiondocker network create - Question #112Networking
Will this command ensure that overlay traffic between service tasks is encrypted? Solution: docker service create --network --secure
Docker ServiceOverlay NetworkNetwork EncryptionDocker Swarm - Question #113Security
Will this command ensure that overlay traffic between service tasks is encrypted? Solution: docker service create --network --encrypted
Docker SwarmOverlay NetworksNetwork Encryptiondocker service command - Question #114Networking
You want to create a container that is reachable from its host's network. Does this action accomplish this? Solution: Use --link to access the container on the bridge network.
Docker NetworkingContainer ReachabilityPort Mapping--link - Question #115Networking
You want to create a container that is reachable from its host's network. Does this action accomplish this? Solution: Use either EXPOSE or --publish to access the containers on the...
Port mappingContainer networkingEXPOSE commandPublish ports - Question #116Networking
You want to create a container that is reachable from its host's network. Does this action accomplish this? Solution: Use network attach to access the containers on the bridge netw...
Docker NetworkingBridge NetworkContainer ReachabilityPort Mapping - Question #117Container Orchestration
You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this object. Does this command display it? Solution: kubectl logs deployment api
kubectlKubernetes DeploymentsKubernetes EventsTroubleshooting - Question #118Container Orchestration
You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this object. Does this command display it? Solution: kubectl events deployment api
kubectl eventsKubernetes troubleshootingCommand syntaxDeployment inspection - Question #119Container Orchestration
You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this object. Does this command display it? Solution: kubectl describe deployment ap...
Kuberneteskubectl describeDeploymentTroubleshooting - Question #120Security
Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory? Solution: seccomp
seccompLinux kernelSystem callsContainer security - Question #121Security
Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory? Solution: namespaces
NamespacesContainer isolationLinux kernel facilitiesResource access control - Question #122Installation and Configuration
Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory? Solution: cgroups
cgroupsResource LimitingLinux KernelDocker Containers - Question #123Container Orchestration
An application image runs in multiple environments, with each environment using different certificates and ports. Is this a way to provision configuration to containers at runtime?...
Docker configRuntime configurationConfiguration managementService deployment - Question #124Storage and Volumes
During development of an application meant to be orchestrated by Kubernetes, you want to mount the /data directory on your laptop into a container. Will this strategy successfully...
Kubernetes volumeshostPathLocal development setupVolume mounting - Question #125Storage and Volumes
During development of an application meant to be orchestrated by Kubernetes, you want to mount the /data directory on your laptop into a container. Will this strategy successfully...
Kubernetes VolumesPersistentVolumePersistentVolumeClaimhostPath - Question #126Image Creation, Management, and Registry
Is this an advantage of multi-stage builds? Solution: better caching when building Docker images
Multi-stage buildsDocker image buildsDocker cachingImage optimization - Question #127Image Creation, Management, and Registry
Is this an advantage of multi-stage builds? Solution: optimizes Images by copying artifacts selectively from previous stages
Multi-stage buildsImage optimizationDockerfile best practicesImage size - Question #128Container Orchestration
Will this command list all nodes in a swarm cluster from the command line? Solution: 'docker swarm nodes'
Docker SwarmSwarm nodesCLI commandsCluster management - Question #129Container Orchestration
Will this command list all nodes in a swarm cluster from the command line? Solution: 'docker node Is'
Docker SwarmSwarm nodesCommand lineSyntax error - Question #130Container Orchestration
Will this command list all nodes in a swarm cluster from the command line? Solution: `docker Is -a'
Docker SwarmSwarm Node ManagementCLI - Question #131Storage
Is this a type of Linux kernel namespace that provides container isolation? Solution: Storage
Linux NamespacesContainer IsolationStorageKernel Features - Question #132Networking
Is this a type of Linux kernel namespace that provides container isolation? Solution: Network
Linux NamespacesContainer NetworkingIsolationDocker Fundamentals - Question #133Security
Is this a type of Linux kernel namespace that provides container isolation? Solution: Authentication
Linux kernel namespacesContainer isolationDocker fundamentals - Question #134Image Creation, Management, and Registry
Is this statement correct? Solution: A Dockerfile provides instructions for building a Docker image
DockerfileDocker ImageImage Building - Question #135Security
A users attempts to set the system time from inside a Docker container are unsuccessful. Could this be blocking this operation? Solution: inter-process communication
Container PrivilegesLinux CapabilitiesContainer IsolationSystem Operations - Question #136Security
A users attempts to set the system time from inside a Docker container are unsuccessful. Could this be blocking this operation? Solution: Linux capabilities
Linux capabilitiesContainer securityPrivileged operationsDocker security - Question #137Installation and Configuration
Your organization has a centralized logging solution, such as Splunk. Will this configure a Docker container to export container logs to the logging solution? Solution: docker syst...
Docker LoggingLogging Driversdocker system eventsCentralized Logging - Question #138Installation and Configuration
Your organization has a centralized logging solution, such as Splunk. Will this configure a Docker container to export container logs to the logging solution? Solution: docker logs...
Docker loggingLogging drivers`docker logs` commandCentralized logging - Question #139Installation and Configuration
Your organization has a centralized logging solution, such as Splunk. Will this configure a Docker container to export container logs to the logging solution? Solution: Set the log...
LoggingLog driver configurationDaemon configurationCentralized logging - Question #140Storage and Volumes
A persistentVolumeClaim (PVC) is created with the specification storageClass: "", and size requirements that cannot be satisfied by any existing persistentVolume. Is this an action...
PersistentVolumeClaimPersistentVolumePVC BindingStorage Provisioning - Question #141Container Orchestration
You created a new service named 'http' and discover it is not registering as healthy. Will this command enable you to view the list of historical tasks for this service? Solution:...
Docker Swarm ServicesService InspectionTroubleshootingService Tasks - Question #142Container Orchestration
You created a new service named 'http' and discover it is not registering as healthy. Will this command enable you to view the list of historical tasks for this service? Solution:...
Docker Servicesdocker inspectService TasksTroubleshooting - Question #143Container Orchestration
You created a new service named 'http' and discover it is not registering as healthy. Will this command enable you to view the list of historical tasks for this service? Solution:...
Docker SwarmDocker ServicesService ManagementCLI - Question #144Installation and Configuration
Will this action upgrade Docker Engine CE to Docker Engine EE? Solution: Delete '/var/lib/docker' directory.
Docker Engine EditionsData Directory/var/lib/dockerUpgrade Process - Question #145Installation and Configuration
Will this action upgrade Docker Engine CE to Docker Engine EE? Solution: Uninstall 'docker-ce' package before installing 'docker-ee' package.
Docker Engine CEDocker Engine EEPackage ManagementEdition Management - Question #146Installation and Configuration
Will this action upgrade Docker Engine CE to Docker Engine EE? Solution: Manually download the 'docker-ee' package
Docker Engine CEDocker Engine EEInstallationEdition Switching - Question #147Networking
The Kubernetes yaml shown below describes a clusterIP service. Is this a correct statement about how this service routes requests? Solution: Traffic sent to the IP of this service...
Kubernetes ServiceClusterIPPort MappingTraffic Routing - Question #148Container Orchestration
The Kubernetes yaml shown below describes a clusterIP service. Is this a correct statement about how this service routes requests? Solution: Traffic sent to the IP of any pod with...
Kubernetes ServiceClusterIPPort mappingPod selectors - Question #149Container Orchestration
In the context of a swarm mode cluster, does this describe a node? Solution: a physical machine participating in the swarm
Docker SwarmSwarm nodeCluster architectureNode definition - Question #150Container Orchestration
In the context of a swarm mode cluster, does this describe a node? Solution: a virtual machine participating in the swarm
Docker SwarmSwarm nodeCluster architectureDocker concepts