DCA Exam Questions
166 real DCA exam questions with expert-verified answers and explanations. Page 2 of 4.
- Question #51Image Creation, Management, and Registry
What is one way of directly transferring a Docker Image from one Docker host in another?
Docker Image ManagementImage Transferdocker savedocker load - Question #52Image Creation, Management, and Registry
Which statement is true about DTR garbage collection?
DTRImage RegistryGarbage CollectionStorage Management - Question #53Image Creation, Management, and Registry
What is the difference between the ADD and COPY dockerfile instructions? (choosen 2)
DockerfileADD instructionCOPY instructionImage Build - Question #54Installation and Configuration
What is the docker command to find the current logging driver for a running container?
docker inspectlogging drivercontainer configurationruntime details - Question #55Container Orchestration
What is the docker command to setup a swarm?
Docker SwarmSwarm initializationCLI commandOrchestration setup - Question #56Security
Is this a supported user authentication method for Universal Control Plane? Solution: PAM
UCP authenticationUser managementPAM - Question #57Image Creation, Management, and Registry
Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry? Solution: Delete the image and delete the image repository from Docker Trusted Regi...
Docker Trusted RegistryImage deletionRepository managementDTR storage - Question #58Image Creation, Management, and Registry
Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry? Solution: Delete the image and run garbage collection on the Docker Trusted Registr...
Docker Trusted Registry (DTR)Image deletionGarbage collectionRegistry storage management - Question #59Image Creation, Management, and Registry
Is this the purpose of Docker Content Trust? Solution: Enable mutual TLS between the Docker client and server.
Docker Content TrustImage SecurityMutual TLSClient-Server Communication - Question #60Security
Is this the purpose of Docker Content Trust? Solution: Verify and encrypt Docker registry TLS.
Docker Content TrustRegistry SecurityTLS - Question #61Security
Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used? Solution: mnt
Linux NamespacesContainer IsolationDocker RuntimeFilesystem Isolation - Question #62Networking
Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used? Solution: net
Linux NamespacesNetwork NamespaceDocker NetworkingContainer Isolation - Question #63Security
Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used? Solution: user
Linux NamespacesUser NamespacesDocker SecurityEngine Configuration - Question #64Installation and Configuration
Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate? Solution: Pass the '--insecure-registry' flag to the daemon at run time.
Docker Daemon ConfigurationInsecure RegistryTLS CertificatesRegistry Access - Question #65Networking
The Kubernetes yaml shown below describes a networkPolicy. Will the networkPolicy BLOCK this traffic? Solution: a request issued from a pod bearing the tier: backend label, to a po...
Kubernetes NetworkPolicyIngress RulesPod Label SelectorsNetwork Security - Question #66Networking
The Kubernetes yaml shown below describes a networkPolicy. Will the networkPolicy BLOCK this traffic? Solution: a request issued from a pod lacking the tier: api label, to a pod be...
Kubernetes NetworkPolicyPod communicationNetwork segmentationLabels and Selectors - Question #67Storage and Volumes
Are these conditions sufficient for Kubernetes to dynamically provision a persistentVolume, assuming there are no limitations on the amount and type of available external storage?...
Kubernetes StoragePersistentVolumesDynamic ProvisioningStorageClass - Question #68Storage and Volumes
Are these conditions sufficient for Kubernetes to dynamically provision a persistentVolume, assuming there are no limitations on the amount and type of available external storage?...
PersistentVolumeClaimStorageClassDynamic ProvisioningKubernetes Storage - Question #69Container Orchestration
Will this configuration achieve fault tolerance for managers in a swarm? Solution: an odd number of manager nodes, totaling more than two
Docker SwarmManager fault toleranceRaft consensusQuorum - Question #70Container Orchestration
Will this configuration achieve fault tolerance for managers in a swarm? Solution: only two managers, one active and one passive.
Docker SwarmManager fault toleranceRaft quorumHigh availability - Question #71Container Orchestration
A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster. Can this be used to schedule containers to mee...
Docker SwarmContainer SchedulingResource ReservationSecurity Policies - Question #72Container Orchestration
A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster. Can this be used to schedule containers to mee...
Docker SwarmContainer SchedulingNode PlacementSecurity Policies - Question #73Container Orchestration
A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster. Can this be used to schedule containers to mee...
Docker SwarmService ConstraintsNode LabelsContainer Scheduling - Question #74Container Orchestration
One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container? S...
KubernetesLiveness ProbeContainer HealthContainer Restart - Question #75Container Orchestration
One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container? S...
Liveness ProbesContainer HealthOrchestrator ActionsPod Lifecycle - Question #76Container Orchestration
One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container? S...
Liveness ProbeContainer HealthPod ManagementOrchestration Actions - Question #77Security
You configure a local Docker engine to enforce content trust by setting the environment variable DOCKER_CONTENT_TRUST=1. If myorg/myimage: 1.0 is unsigned, does Docker block this c...
Docker Content TrustImage Securitydocker image importEnvironment Variables - Question #78Container Orchestration
You configure a local Docker engine to enforce content trust by setting the environment variable DOCKER_CONTENT_TRUST=1. If myorg/myimage: 1.0 is unsigned, does Docker block this c...
Docker Content TrustDocker SwarmService DeploymentEnvironment Variables - Question #79Networking
Can this set of commands identify the published port(s) for a container? Solution: docker container inspect', 'docker port'
Docker commandsContainer networkingPort mappingContainer inspection - Question #80Image Creation, Management, and Registry
You add a new user to the engineering organization in DTR. Will this action grant them read/write access to the engineering/api repository? Solution: Add the user directly to the l...
DTR PermissionsUser ManagementRepository AccessOrganization Roles - Question #81Security
You add a new user to the engineering organization in DTR. Will this action grant them read/write access to the engineering/api repository? Solution: Add them to a team in the engi...
DTR permissionsUser access controlOrganizational teamsRepository access - Question #82Container Orchestration
Two development teams in your organization use Kubernetes and want to deploy their applications while ensuring that Kubernetes-specific resources, such as secrets, are grouped toge...
KubernetesPodsSecretsResource Management - Question #83Container Orchestration
Two development teams in your organization use Kubernetes and want to deploy their applications while ensuring that Kubernetes-specific resources, such as secrets, are grouped toge...
Kubernetes namespacesResource isolationApplication deploymentKubernetes fundamentals - Question #84Container Orchestration
Two development teams in your organization use Kubernetes and want to deploy their applications while ensuring that Kubernetes-specific resources, such as secrets, are grouped toge...
Kubernetes NamespacesResource GroupingSecrets ManagementApplication Deployment - Question #85Container Orchestration
Seven managers are in a swarm cluster. Is this how should they be distributed across three datacenters or availability zones? Solution: 3-3-1
Docker SwarmHigh AvailabilityRaft ConsensusManager Distribution - Question #86Container Orchestration
Seven managers are in a swarm cluster. Is this how should they be distributed across three datacenters or availability zones? Solution: 5-1-1
Docker SwarmHigh AvailabilityManager NodesQuorum - Question #87Container Orchestration
Seven managers are in a swarm cluster. Is this how should they be distributed across three datacenters or availability zones? Solution: 3-2-2
Docker SwarmManager distributionHigh availabilityRaft quorum - Question #88Container Orchestration
Does this command create a swarm service that only listens on port 53 using the UDP protocol? Solution: 'docker service create --name dns-cache -p 53:53/udp dns-cache'
Docker SwarmPort PublishingUDPService Creation - Question #89Container Orchestration
Does this command create a swarm service that only listens on port 53 using the UDP protocol? Solution: `docker service create -name dns-cache -p 53:53 -service udp dns-cache'
Docker SwarmService CreationPort PublishingUDP Protocol - Question #90Container Orchestration
You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this? Solution: Turn the configuration file into a config...
KubernetesConfigMapVolume MountsPod Configuration - Question #91Storage and Volumes
You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this? Solution: Mount the configuration file directly int...
KubernetesConfigurationConfigMapsVolume Mounts - Question #92Storage and Volumes
You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this? Solution: Turn the configuration file into a config...
Kubernetes ConfigMapVolumesConfiguration ManagementPod Configuration - Question #93Image Creation, Management, and Registry
In Docker Trusted Registry, is this how a user can prevent an image, such as 'nginx:latest', from being overwritten by another user with push access to the repository? Solution: Us...
Docker Trusted RegistryImage ImmutabilityImage ManagementRepository Configuration - Question #94Storage and Volumes
Will this command mount the host's '/data' directory to the ubuntu container in read-only mode? Solution: 'docker run --add-volume /data /mydata -read-only ubuntu'
Docker VolumesVolume MountingRead-only Mountsdocker run command - Question #95Storage and Volumes
Will this command mount the host's '/data' directory to the ubuntu container in read-only mode? Solution: 'docker run -v /data:/mydata --mode readonly ubuntu'
docker volumesread-only mountsdocker run command - Question #96Storage and Volumes
Will this command mount the host's '/data' directory to the ubuntu container in read-only mode? Solution: 'docker run --volume /data:/mydata:ro ubuntu'
Docker VolumesBind MountsRead-only MountsHost-Container Interaction - Question #97Container Orchestration
The following Docker Compose file is deployed as a stack: Is this statement correct about this health check definition? Solution: Health checks test for app health ten seconds apar...
Docker ComposeHealth checkContainer healthService definition - Question #98Container Orchestration
The following Docker Compose file is deployed as a stack: Is this statement correct about this health check definition? Solution: Health checks test for app health ten seconds apar...
Docker ComposeHealth CheckService MonitoringContainer Orchestration - Question #99Security
Will a DTR security scan detect this? Solution: licenses for known third party binary components
DTRSecurity ScanVulnerability ScanningLicense Compliance - Question #100Container Orchestration
Does this command display all the pods in the cluster that are labeled as 'env: development'? Solution: 'kubectl get pods -I env=development'
kubectlpodslabelsresource filtering