P Quiz 10

docx

School

New York University *

*We aren’t endorsed by this school

Course

4513

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

3

Uploaded by ara21059

Report
1. A Docker Compose... 1. is a CLI that gets installed with Docker 2. can be used for running multiple containers 3. automates some of the commands for running Docker 4. all of the above 2. A union file system...? 1. unites the best features of NFS and HFS 2. keeps all files unied on one disk 3. allows multiple mounts at a single mount point resulting in a union of all of their contents 4. none of the above. 3. The Linux feature that allows different processes to see different sets of resources is called...? 1. namespaces 2. libnetwork 3. libcontainer 4. union file system 4. Infrastructure as code is important in the cloud (compared to old machine rooms) because...? 1. we are likely to have more servers 2. the servers life-span is shorter 3. we often need to scale deployment up and down in a matter of minutes
4. all of the above 5. If we run the 'ps' command to list running processes both inside and outside a container, we will likely see more processes...? 1. inside the container 2. outside the container 3. no telling 4. you can't run it inside a container 6. The Docker container can be stopped by running...? 1. docker stop <container id> 2. docker kill <container id> 3. both A and B 4. none of the above 7. When using Docker Compose, networking between the containers...? 1. is configured automatically 2. needs to be configured in docker- compose.yml 3. needs to be configured in Dockerfile 4. is NOT possible 8. Containers can best be conceived as...? 1. a new sort of thread 2. a different way to test software 3. lightweight virtual machines 4. all of the above 9. 'docker-compose up' is equivalent to...? 1. 'docker stop imageID' 2. 'docker run imageID' 3. 'docker build .' 4. 'npm run start' 10. 'docker pull redis' will...?
1. will pull the redis image from the Docker Hub 2. will pull the redis container from the Docker Hub 3. will create a Docker container with the name redis 4. is an invalid command
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help