ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 9 - CKS discussion

Report
Export

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.

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

Explanation:

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

asked 18/09/2024
Sheng-Feng Zhang
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first