Câu 83: CV0-004: CompTIA Cloud+
An application that is running on containers writes files to the operating system after processing data. The produced output files are stored under /project-files owned by root. A cloud engineer needs to make sure no output files are owned by root. Which of the following actions should the engineer take to best achiev…
Nội dung câu hỏi
An application that is running on containers writes files to the operating system after processing data. The produced output files are stored under /project-files owned by root. A cloud engineer needs to make sure no output files are owned by root. Which of the following actions should the engineer take to best achieve this objective?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Mount the volume in Docker using --user=myapp.
- B. Add USER myapp to the Dockerfile and rebuild the container. — đáp án hiện tại
- C. Run chown myapp:myapp /project-files with cron every minute.
- D. Modify the container application to execute sudo -u myapp myapp.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.