クラウド エンジニアは、Python Web アプリケーションをデプロイするために次の Dockerfile をレビューしています。 コンテナのセキュリティを向上させるために、エンジニアはファイルに次の変更を加える必要がありますか?
正解:A
To improve container security, the engineer should add the instruction "USER nonroot" to the Dockerfile. This change ensures that the container does not run as the root user, which reduces the risk of privilege escalation attacks. Running containers as a non-root user is a best practice for enhancing security in containerized environments.