ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 12 - 300-910 discussion

Report
Export

Which two actions help limit the attack surface of your Docker container? (Choose two.)

A.

Run only a single service in each container.

Answers
A.

Run only a single service in each container.

B.

Run all services in a single image.

Answers
B.

Run all services in a single image.

C.

Use version tags for base images and dependencies.

Answers
C.

Use version tags for base images and dependencies.

D.

Use Kali Linux as a base image.

Answers
D.

Use Kali Linux as a base image.

E.

Download images over HTTPS supporting sites.

Answers
E.

Download images over HTTPS supporting sites.

Suggested answer: A, C

Explanation:

Running only a single service in each container and using version tags for base images and dependencies helps limit the attack surface of your Docker container. This ensures that only the necessary services are running and that you always have the latest versions of the base images and their dependencies, reducing the risk of malicious code being included in the container image.

Reference: Docker Documentation, Security Best Practices.

asked 10/10/2024
Yusuf Sivrikaya
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first