Skip to content

Commit d26acfa

Browse files
author
lacatoire
committed
update on quoting
1 parent 4a6ca1b commit d26acfa

9 files changed

Lines changed: 11 additions & 11 deletions

data/1_Orchestration/apply_node_labels_placement_tasks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ questions:
2121
question: What placement constraint ensures a service runs only on nodes with a specific label?
2222
answers:
2323
- { value: '--require-label key=value', correct: false }
24-
- { value: '--constraint 'node.labels.key == value'', correct: true }
24+
- { value: '--constraint node.labels.key == value', correct: true }
2525
- { value: '--affinity key=value', correct: false }
26-
- { value: '--label 'key=value'', correct: false }
26+
- { value: '--label key=value', correct: false }
2727
help: https://docs.docker.com/engine/swarm/services/#placement-constraints
2828

2929
- uuid: e187c71b-dbf3-4488-b1d5-009d5ff3a383

data/1_Orchestration/extend_run_containers_to_services.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ questions:
4747
- uuid: 0b7266e1-b44e-41b3-b1b0-91a0e4ed0a7f
4848
question: What must be initialized before creating services in Swarm mode?
4949
answers:
50-
- { value: 'The swarm must be initialized with 'docker swarm init'', correct: true }
50+
- { value: 'The swarm must be initialized with `docker swarm init`', correct: true }
5151
- { value: 'A YAML file must be created', correct: false }
5252
- { value: 'Docker Content Trust must be disabled', correct: false }
5353
- { value: 'The image must be signed', correct: false }

data/1_Orchestration/interpret_output_docker_inspect_commend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ questions:
4141
- { value: 'docker inspect --ip-only <container>', correct: false }
4242
- { value: 'docker info --network <container>', correct: false }
4343
- { value: 'docker logs --network-info <container>', correct: false }
44-
- { value: 'docker inspect -f '{{ .NetworkSettings.IPAddress }}' <container>', correct: true }
44+
- { value: 'docker inspect -f `{{ .NetworkSettings.IPAddress }}` <container>', correct: true }
4545
help: https://docs.docker.com/reference/cli/docker/inspect/
4646

4747
- uuid: 5e7f3841-bd3f-4e3e-b63b-73f4b7b9482e

data/1_Orchestration/k8s_configmap_secret.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ questions:
4848
question: How do you expose a key from a ConfigMap as an environment variable?
4949
answers:
5050
- { value: 'Use envFrom or env in the container spec', correct: true }
51-
- { value: 'Use 'volumesFrom'', correct: false }
51+
- { value: 'Use volumesFrom', correct: false }
5252
- { value: 'Reference the ConfigMap in a PVC', correct: false }
53-
- { value: 'Use 'args' in the container spec', correct: false }
53+
- { value: 'Use args in the container spec', correct: false }
5454
help: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/
5555

5656
- uuid: b243f486-c775-4b59-b52f-26e9ae5a64b0

data/1_Orchestration/troubleshoot_service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ questions:
6565
- uuid: 5ff79c36-92a2-4d00-b3bc-cdf2d8ee43ae
6666
question: What option can you add to `docker service create` to avoid issues with unavailable nodes?
6767
answers:
68-
- { value: '--constraint 'node.role == worker'', correct: true }
68+
- { value: '--constraint node.role == worker', correct: true }
6969
- { value: '--replicas 0', correct: false }
7070
- { value: '--network bridge', correct: false }
7171
- { value: '--name unique_service', correct: false }

data/3_installation_and_configuration/describe_demonstrate_how_configure_docker_daemon_start_boot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ questions:
5959
- { value: 'Use `docker login --autostart`', correct: false }
6060
- { value: 'Edit systemd unit', correct: false }
6161
- { value: 'Enable via Group Policy Editor', correct: false }
62-
- { value: 'Enable 'Start Docker Desktop when you log in' in settings', correct: true }
62+
- { value: 'Enable `Start Docker Desktop when you log in` in settings', correct: true }
6363
help: https://docs.docker.com/desktop/settings/windows/
6464

6565
- uuid: 53efb6e0-2a6d-4a96-89e9-6317f03bb11c

data/5_Security/describe_default_engine_security.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ questions:
5050
- { value: 'They are unable to use bind mounts', correct: false }
5151
- { value: 'They may access host resources if misconfigured', correct: true }
5252
- { value: 'They cannot access environment variables', correct: false }
53-
- { value: 'They won't be able to start properly', correct: false }
53+
- { value: "They won't be able to start properly", correct: false }
5454
help: 'https://docs.docker.com/engine/security/'
5555

5656
- uuid: b3a49195-c560-42b2-981f-d987279adf6f

data/5_Security/swarm_default_security.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ questions:
1212
question: What is the role of certificates in Docker Swarm?
1313
answers:
1414
- { value: 'They authenticate and encrypt communication between nodes', correct: true }
15-
- { value: 'They store the container's configuration', correct: false }
15+
- { value: "They store the container's configuration", correct: false }
1616
- { value: 'They are used for publishing images', correct: false }
1717
- { value: 'They replace container secrets', correct: false }
1818
help: https://docs.docker.com/engine/swarm/how-swarm-mode-works/pki/

data/5_Security/ucp_client_bundle.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ questions:
5050
- { value: 'Have access to DTR', correct: false }
5151
- { value: 'Be logged in as root', correct: false }
5252
- { value: 'Be a member of the Admin team only', correct: false }
53-
- { value: 'Have the 'Generate Client Bundle' permission in their UCP role', correct: true }
53+
- { value: 'Have the `Generate Client Bundle` permission in their UCP role', correct: true }
5454
help: https://docs.mirantis.com/docker-enterprise/v3.1/dockeree-products/ucp/user-access/create-client-bundle.html#access-control
5555

5656
- uuid: 2ea49720-6b0d-4391-b5f7-24fae88a07d5

0 commit comments

Comments
 (0)