ডেভঅপস ও ক্লাউড — MCQ প্রশ্ন
আইটি ও প্রোগ্রামিং MCQ (ওপেন) · আইটি ও প্রোগ্রামিং। এই অধ্যায়ে মোট 71টি প্রশ্ন আছে। নিচে প্রথম 10টি প্রশ্ন ও অপশন দেওয়া হলো; সঠিক উত্তর সার্ভারে যাচাই হয়।
এই অধ্যায়ে সব প্রশ্নে অনুশীলন করুন
What command is used to build a Docker image from a Dockerfile?
- docker run
- docker build
- docker pull
- docker push
উত্তর যাচাই করতে প্র্যাকটিসে যান।
Which file is typically used to define a continuous integration pipeline in Jenkins?
- Dockerfile
- Jenkinsfile
- pipeline.yml
- ci-config.json
উত্তর যাচাই করতে প্র্যাকটিসে যান।
In Docker, what does the command 'docker run -d' do?
- Runs a container in detached mode (background)
- Deletes a container forcefully
- Displays logs of a container
- Downloads an image
উত্তর যাচাই করতে প্র্যাকটিসে যান।
What is the default Docker network type when you run a container?
- host
- bridge
- none
- overlay
উত্তর যাচাই করতে প্র্যাকটিসে যান।
What is the primary purpose of Continuous Integration (CI)?
- To deploy code directly to production
- To merge code changes frequently and run automated tests
- To create containers
- To monitor system health
উত্তর যাচাই করতে প্র্যাকটিসে যান।
Which command is used to list currently running Docker containers?
- docker ps
- docker images
- docker ls
- docker logs
উত্তর যাচাই করতে প্র্যাকটিসে যান।
What is a key benefit of using Docker in CI/CD pipelines?
- Avoids use of version control systems
- Ensures consistent environments across development, testing, and production
- Increases build times significantly
- Removes need for automated testing
উত্তর যাচাই করতে প্র্যাকটিসে যান।
Which Dockerfile instruction sets the base image for the build?
- RUN
- FROM
- CMD
- ENTRYPOINT
উত্তর যাচাই করতে প্র্যাকটিসে যান।
In Jenkins, what does a pipeline stage represent?
- A Git repository
- A defined phase or step of the build process
- A Docker container
- A VM instance
উত্তর যাচাই করতে প্র্যাকটিসে যান।
How do you push a local Docker image to Docker Hub?
- docker push image_name:tag
- docker upload image_name
- docker send image_name
- docker pull image_name
উত্তর যাচাই করতে প্র্যাকটিসে যান।