Linux Foundation CKS Prüfungsplan:
| Thema | Einzelheiten |
|---|---|
| Thema 1 |
|
| Thema 2 |
|
| Thema 3 |
|
| Thema 4 |
|
| Thema 5 |
|
Referenz: https://training.linuxfoundation.org/certification/certified-kubernetes-security-specialist/#exams
In den letzten Jahren nehmen immer mehr Menschen an der Linux Foundation CKS Zertifizierungsprüfung teil. Da diese Prüfung kann Ihnen helfen, das Linux Foundation-Zertifikat zu erhalten, das eine wichtige Grundlage für die Messung Ihrer Linux Foundation-Kenntnisse ist. Mit dem Linux Foundation-Zertifikat können Sie ein besseres Leben führen.
Bei ZertSoft bieten wir Ihnen die genauesten und neuesten Certified Kubernetes Security Specialist (CKS) Prüfungsmaterialien. Wenn Sie sich auf CKS-Prüfung vorbereiten, sind diese Prüfungfragen und -antworten auf ZertSoft absolut Ihr bester Helfer. Mit unseren Linux Foundation-Studienmaterialien werden Sie in der Lage sein, Linux Foundation CKS Prüfung beim ersten Versuch zu bestehen. Und Sie brauchen nicht zu viel Zeit auf andere Referenz-Bücher zu verbringen, Sie brauchen nur 20-30 Stunden zu kosten, um unsere Prüfungsmaterialien gut zu erfassen.
ZertSoft ist eine Website, die über eine große Mennge von Linux Foundation-Prüfungsmaterialien verfügt. Unsere CKS PDF Prüfungsfragen und -antworten, die von erfahrenen Linux Foundation-Experten geschrieben werden, sind von hoher Qualität und haben angemessenen Preis, viele Kunden haben uns akzeptiert. Die Trefferquote liegt bei 99,9%. Die Test Engine auf ZertSoft kann eine echte Prüfungsumgebung simulieren, auf diese Wiese können Sie die Certified Kubernetes Security Specialist (CKS) Prüfung mühlos bestehen.
Wir hoffen, dass wir jedem Kunden qualitativ hochwertigen Service anbieten können. Nachdem Sie CKS Prüfungsmaterialien kaufen, versprechen wir Ihnen einjährigen kostenlosen Update-Service. Damit die Kandidaten zufrieden sind, arbeiten unsere Linux Foundation-Experten ganz fleißig, um die neuesten Prüfungsmaterialien zu erhalten. Wir überprüfen auch jeden Tag die Aktualisierung. Solange sich die Schulungsunterlagen aktualisieren, senden wir Ihnen die neuesten automatisch in Ihre Mailbox.
Vor dem Kauf können Sie unsere kostenlose Demo zur Certified Kubernetes Security Specialist (CKS) Prüfung als Probe downloaden. Sind Sie damit zufrieden, können Sie den Auftrag fortsetzen und vollständige CKS Prüfungsfragen und -antworten kaufen.
100% Geld-zurück-Garantie - Fallen Sie bei der Prüfung durch, geben wir Ihnen eine volle Rückerstattung. Sie brauchen nur die Scan-Kopie ihres Prüfungszeugnis an uns senden. Nach der Bestätigung werden wir Ihnen rückerstatten.
Und es gibt nur zwei Schritte, damit Sie Ihren Auftrag beenden. Wir werden Ihr Produkt in Ihre gültige Mailbox senden. Dann können Sie den Anhang downloaden und die Uterlagen benutzen.
Linux Foundation Certified Kubernetes Security Specialist (CKS) CKS Prüfungsfragen mit Lösungen
SIMULATION
Context
You must resolve issues that a CIS Benchmark tool found for the kubeadm provisioned cluster.
Task
Fix all issues via configuration and restart the affected components to ensure the new settings take effect.
Fix all of the following violations that were found against the kubelet:
The cluster uses the Docker Engine os its container runtime, If needed, use the docker command to troubleshaot running containers.
Ensure that the anonymous-auth argument is set to false FAIL
Ensure that the -authorization-mode argument is not set to FAIL
AlwaysAllow
Use Webhook authentication /authorization where possible.
Fix all of the following violations that were found against ettd :
Ensure that the -client cert auth argument is set to true FAIL
Antwort:
See the Explanation below for complete solution
Explanation:
1) SSH to the right node
ssh cks000002
sudo -i
2) Fix kubelet CIS findings
2.1 Edit kubelet config (MAIN place in kubeadm clusters)
vi /var/lib/kubelet/config.yaml
A) Set anonymous-auth to false
Find (or add) this block exactly:
authentication:
anonymous:
enabled: false
B) Use Webhook authentication (recommended by task)
Ensure this exists under authentication:
webhook:
enabled: true
C) Use Webhook authorization and NOT AlwaysAllow
Find (or add) this block exactly:
authorization:
mode: Webhook
When done, your file should contain something like this (exact structure to aim for):
authentication:
anonymous:
enabled: false
webhook:
enabled: true
x509:
clientCAFile: /etc/kubernetes/pki/ca.crt
authorization:
mode: Webhook
If x509: section isn't there, it's usually already present in kubeadm; don't panic. Only the task-required parts are: anonymous false + webhook enabled + authorization mode Webhook.
2.2 Restart kubelet (required for config.yaml changes)
systemctl daemon-reload
systemctl restart kubelet
systemctl status kubelet --no-pager
Quick confirm (optional but fast):
grep -nE "anonymous|webhook|authorization|mode" /var/lib/kubelet/config.yaml
3) Fix etcd CIS finding: --client-cert-auth=true
3.1 Edit etcd static pod manifest (kubeadm path)
vi /etc/kubernetes/manifests/etcd.yaml
Find the container command: args that look like:
- command:
- etcd
- --something=...
Ensure this line exists exactly in the list:
- --client-cert-auth=true
Also ensure this is present (usually already is, but add if missing):
- --trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt
Example snippet (what you want the args area to include):
- command:
- etcd
- --client-cert-auth=true
- --trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt
3.2 Apply etcd change (auto-restart happens)
Just save the file. Kubelet will restart etcd automatically.
Watch it restart (pick one depending on runtime):
If Docker runtime (your task mentions Docker):
docker ps | grep etcd
If you don't see it briefly, wait 2-5 seconds and rerun:
docker ps | grep etcd
(Alternative if available)
crictl ps | grep etcd
4) Final quick validation (fast exam check)
Kubelet config check
grep -n "enabled: false" -n /var/lib/kubelet/config.yaml | head
grep -n "webhook" /var/lib/kubelet/config.yaml
grep -n "authorization" /var/lib/kubelet/config.yaml
etcd arg check
grep -n "client-cert-auth" /etc/kubernetes/manifests/etcd.yaml
SIMULATION
Context:
Cluster: gvisor
Master node: master1
Worker node: worker1
You can switch the cluster/configuration context using the following command:
[desk@cli] $ kubectl config use-context gvisor
Context: This cluster has been prepared to support runtime handler, runsc as well as traditional one.
Task:
Create a RuntimeClass named not-trusted using the prepared runtime handler names runsc.
Update all Pods in the namespace server to run on newruntime.
Antwort:
See the Explanation below
Explanation:
Explanation:
[desk@cli] $vim runtime.yaml
apiVersion: node.k8s.io/v1
kind: RuntimeClass
metadata:
name: not-trusted
handler: runsc
[desk@cli] $ k apply -f runtime.yaml
[desk@cli] $ k get pods
NAME READY STATUS RESTARTS AGE
nginx-6798fc88e8-chp6r 1/1 Running 0 11m
nginx-6798fc88e8-fs53n 1/1 Running 0 11m
nginx-6798fc88e8-ndved 1/1 Running 0 11m
[desk@cli] $ k get deploy
NAME READY UP-TO-DATE AVAILABLE AGE
nginx 3/3 11 3 5m
[desk@cli] $ k edit deploy nginx
SIMULATION
A container image scanner is set up on the cluster.
Given an incomplete configuration in the directory
/etc/kubernetes/confcontrol and a functional container image scanner with HTTPS endpoint https://test-server.local.8081/image_policy
1. Enable the admission plugin.
2. Validate the control configuration and change it to implicit deny.
Finally, test the configuration by deploying the pod having the image tag as latest.
Antwort:
SeetheExplanationbelowExplanation:
ssh-add ~/.ssh/tempprivate
eval "$(ssh-agent -s)"
cd contrib/terraform/aws
vi terraform.tfvars
terraform init
terraform apply -var-file=credentials.tfvars
ansible-playbook -i ./inventory/hosts ./cluster.yml -e ansible_ssh_user=core -e bootstrap_os=coreos -b --become-user=root --flush-cache -e ansible_user=core
SIMULATION
Context
A default-deny NetworkPolicy avoids to accidentally expose a Pod in a namespace that doesn't have any other NetworkPolicy defined.
Task
Create a new default-deny NetworkPolicy named defaultdeny in the namespace testing for all traffic of type Egress.
The new NetworkPolicy must deny all Egress traffic in the namespace testing.
Apply the newly created default-deny NetworkPolicy to all Pods running in namespace testing.
Antwort:
See the Explanation below
Explanation:


SIMULATION
Create a User named john, create the CSR Request, fetch the certificate of the user after approving it.
Create a Role name john-role to list secrets, pods in namespace john
Finally, Create a RoleBinding named john-role-binding to attach the newly created role john-role to the user john in the namespace john.
To Verify: Use the kubectl auth CLI command to verify the permissions.
Antwort:
See explanation below
Explanation:
se kubectl to create a CSR and approve it.
Get the list of CSRs:
kubectl get csr
Approve the CSR:
kubectl certificate approve myuser
Get the certificate
Retrieve the certificate from the CSR:
kubectl get csr/myuser -o yaml
here are the role and role-binding to give john permission to create NEW_CRD resource:
kubectl apply -f roleBindingJohn.yaml --as=john
rolebinding.rbac.authorization.k8s.io/john_external-rosource-rb created kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata:
name: john_crd
namespace: development-john
subjects:
- kind: User
name: john
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: crd-creation
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: crd-creation
rules:
- apiGroups: ["kubernetes-client.io/v1"]
resources: ["NEW_CRD"]
verbs: ["create, list, get"]
Seite 1 von 14 wird angezeigt.
Fragen 1-5 von 66 werden angezeigt.

1391 Kundenrezensionen
Wir sind zuversichtlich von unseren Produkten, die wir bieten keinen Mühe-Produkt-Austausch.







Traven -
Perfekte Studienführung für meine Prüfung CKS. Ich würde es jedem empfehlen, der das Linux Foundation ertifikat braucht.