ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 10 - CKS discussion

Report
Export

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.

Answer: See explanation below.

A.
See the explanation
Answers
A.
See the explanation
Suggested answer: A

Explanation:

asked 18/09/2024
Mohand TIMSILINE
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first