Außerdem sind jetzt einige Teile dieser DeutschPrüfung CKS Prüfungsfragen kostenlos erhältlich: https://drive.google.com/open?id=1Yym8jg0NvCnwS2v2mZ6F3DouEHbo_vsI
Sie können im Internet teilweise die Fragen und Antworten zur Linux Foundation CKS Zertifizierungsprüfung von DeutschPrüfung kostenlos als Probe herunterladen. Dann würden Sie finden, dass die Übungen von DeutschPrüfung ist die umfassendesten und ganau was, was Sie wollen.
Das Linux Foundation CKS (Certified Kubernetes Security Specialist) Exam ist ein Zertifizierungsprogramm, das entwickelt wurde, um das Fachwissen einer Person in der Sicherung von containerbasierten Anwendungen und Kubernetes-Plattformen zu bewerten und zu validieren. Das Examen richtet sich an Fachleute, die für die Sicherung von Kubernetes-Clustern verantwortlich sind und sicherstellen müssen, dass diese den branchenweit anerkannten Sicherheitsstandards entsprechen. Das CKS-Zertifizierungsprogramm ist ein herstellerneutrales Programm, das allen IT-Profis offen steht, die ein gutes Verständnis von Kubernetes und seinen Sicherheitsprinzipien haben.
Sie können nur die Fragen und Antworten zur Linux Foundation CKS (Certified Kubernetes Security Specialist (CKS)) Zertifizierungsprüfung von DeutschPrüfung als Simulationsprüfung benutzen, dann können Sie einfach die Prüfung bestehen. Mit dem Linux Foundation CKS Zertfikat steht Ihr professionelles Niveau höher als das der anderen. Sie bekommen deshalb große Beförderungschance. Fügen Sie Linux Foundation CKS Fragen Und Antworten von DeutschPrüfung in den Warenkorb hinzu. DeutschPrüfung bietet Ihnen rund um die Uhr Online-Service.
Die CKS -Zertifizierungsprüfung ist für Personen ausgelegt, die ein tiefes Verständnis für die Sicherheit von Kubernetes haben und Erfahrung in der Implementierung von Best Practices in einer Kubernetes -Umgebung haben. Die Prüfung deckt eine breite Palette von Themen ab, einschließlich Cluster -Setup, Sicherung der Kubernetes -API, Netzwerkrichtlinien, Sicherung von Workloads von Kubernetes sowie Überwachung und Protokollierung. Die Kandidaten müssen mit verschiedenen Kubernetes -Sicherheitstools vertraut sein und in der Lage sein, häufig auftretende Sicherheitsprobleme zu beheben.
46. Frage
SIMULATION
Create a Pod name Nginx-pod inside the namespace testing, Create a service for the Nginx-pod named nginx-svc, using the ingress of your choice, run the ingress on tls, secure port.
Antwort: A
47. Frage
SIMULATION
Create a Pod name Nginx-pod inside the namespace testing, Create a service for the Nginx-pod named nginx-svc, using the ingress of your choice, run the ingress on tls, secure port.
Antwort:
Begründung:
See the Explanation belowExplanation:
$ kubectl get ing -n <namespace-of-ingress-resource>
NAME HOSTS ADDRESS PORTS AGE
cafe-ingress cafe.com 10.0.2.15 80 25s
$ kubectl describe ing <ingress-resource-name> -n <namespace-of-ingress-resource> Name: cafe-ingress Namespace: default Address: 10.0.2.15 Default backend: default-http-backend:80 (172.17.0.5:8080) Rules:
Host Path Backends
---- ---- --------
cafe.com
/tea tea-svc:80 (<none>)
/coffee coffee-svc:80 (<none>)
Annotations:
kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"networking.k8s.io/v1","kind":"Ingress","metadata":{"annotations":{},"name":"cafe-ingress","namespace":"default","selfLink":"/apis/networking/v1/namespaces/default/ingresses/cafe-ingress"},"spec":{"rules":[{"host":"cafe.com","http":{"paths":[{"backend":{"serviceName":"tea-svc","servicePort":80},"path":"/tea"},{"backend":{"serviceName":"coffee-svc","servicePort":80},"path":"/coffee"}]}}]},"status":{"loadBalancer":{"ingress":[{"ip":"169.48.142.110"}]}}} Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal CREATE 1m ingress-nginx-controller Ingress default/cafe-ingress
Normal UPDATE 58s ingress-nginx-controller Ingress default/cafe-ingress
$ kubectl get pods -n <namespace-of-ingress-controller>
NAME READY STATUS RESTARTS AGE
ingress-nginx-controller-67956bf89d-fv58j 1/1 Running 0 1m
$ kubectl logs -n <namespace> ingress-nginx-controller-67956bf89d-fv58j
------------------------------------------------------------------------------- NGINX Ingress controller Release: 0.14.0 Build: git-734361d Repository: https://github.com/kubernetes/ingress-nginx
-------------------------------------------------------------------------------
....
48. Frage
You are building a custom Kubernetes distribution for your organization- Establish a secure process for building and verifying the integrity of the Kubernetes binaries included in your distribution.
Antwort:
Begründung:
Solution (Step by Step):
1. Build Kubernetes from source: Build the Kubernetes binaries from the official source code repository (httpswgithub.com/kubernetes/kubernetesl
(https://wwwgoogle.com/url?sa=E&source=gmail&q=https://github.com/kubernetes/kubernetes))- Use a clean build environment and a trusted source for the source code.
2. Implement reproducible builds: Use a build system that supports reproducible builds, such as Bazel or Buildah- This ensures that the same source code always produces the same binary output.
3. Generate and verify checksums: Generate SHA-256 checksums for all built binaries and store them securely. Verity the checksums of the binaries before including them in your distribution.
4. Sign the binaries: Use a code signing certificate to sign the binaries. This allows users to verify the authenticity and integrity of the binaries-
5. Publish the binaries and signatures: Publish the binaries and corresponding signatures in a secure repository. Provide clear instructions for users to
verify the signatures before using the binaries-
6. Use a trusted CI/CD system: use a trusted and secure CI/CD system to automate the build and verification process. This helps to ensure the integrity and security of the build pipeline.
49. Frage
On the Cluster worker node, enforce the prepared AppArmor profile
#include <tunables/global>
profile nginx-deny flags=(attach_disconnected) {
#include <abstractions/base>
file,
# Deny all file writes.
deny /** w,
}
EOF'
Edit the prepared manifest file to include the AppArmor profile.
apiVersion: v1
kind: Pod
metadata:
name: apparmor-pod
spec:
containers:
- name: apparmor-pod
image: nginx
Finally, apply the manifests files and create the Pod specified on it.
Verify: Try to make a file inside the directory which is restricted.
Antwort:
Begründung:


50. Frage
Context: Cluster: prod Master node: master1 Worker node: worker1
You can switch the cluster/configuration context using the following command:
[desk@cli] $ kubectl config use-context prod
Task: Analyse and edit the given Dockerfile (based on the ubuntu:18:04 image) /home/cert_masters/Dockerfile fixing two instructions present in the file being prominent security/best-practice issues.
Analyse and edit the given manifest file /home/cert_masters/mydeployment.yaml fixing two fields present in the file being prominent security/best-practice issues.
Note: Don't add or remove configuration settings; only modify the existing configuration settings, so that two configuration settings each are no longer security/best-practice concerns. Should you need an unprivileged user for any of the tasks, use user nobody with user id 65535
Antwort:
Begründung:
1. For Dockerfile: Fix the image version & user name in Dockerfile 2. For mydeployment.yaml : Fix security contexts Explanation
[desk@cli] $ vim /home/cert_masters/Dockerfile
FROM ubuntu:latest # Remove this
FROM ubuntu:18.04 # Add this
USER root # Remove this
USER nobody # Add this
RUN apt get install -y lsof=4.72 wget=1.17.1 nginx=4.2
ENV ENVIRONMENT=testing
USER root # Remove this
USER nobody # Add this
CMD ["nginx -d"]
[desk@cli] $ vim /home/cert_masters/mydeployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: kafka
name: kafka
spec:
replicas: 1
selector:
matchLabels:
app: kafka
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: kafka
spec:
containers:
- image: bitnami/kafka
name: kafka
volumeMounts:
- name: kafka-vol
mountPath: /var/lib/kafka
securityContext:
{"capabilities":{"add":["NET_ADMIN"],"drop":["all"]},"privileged": True,"readOnlyRootFilesystem": False, "runAsUser": 65535} # Delete This
{"capabilities":{"add":["NET_ADMIN"],"drop":["all"]},"privileged": False,"readOnlyRootFilesystem": True, "runAsUser": 65535} # Add This resources: {} volumes:
- name: kafka-vol
emptyDir: {}
status: {}
Pictorial View: [desk@cli] $ vim /home/cert_masters/mydeployment.yaml
51. Frage
......
CKS Online Prüfung: https://www.deutschpruefung.com/CKS-deutsch-pruefungsfragen.html
Übrigens, Sie können die vollständige Version der DeutschPrüfung CKS Prüfungsfragen aus dem Cloud-Speicher herunterladen: https://drive.google.com/open?id=1Yym8jg0NvCnwS2v2mZ6F3DouEHbo_vsI