You are managing a CI/CD pipeline in GitLab where you need to deploy a multi-tier application with separate services for the frontend, backend, and database. Each tier must be deployed in a specific order and verified before proceeding to the next. How would you configure this pipeline to ensure proper deployment and verification?
You are configuring a CI/CD pipeline in GitLab and want to utilize Directed Acyclic Graph (DAG) pipelines to optimize the execution of independent jobs. You have the following jobs: build, lint, test, and deploy. The deploy job should run only after both build and test jobs have completed successfully, while lint can run in parallel with any other job. How would you configure the .gitlab-ci.yml file to achieve this?
You are managing a CI/CD pipeline in GitLab for a monorepo containing multiple services. Some services need to be tested and deployed only when specific files are modified. How should you configure the pipeline to achieve this efficiently?
A DevOps engineer is configuring a GitLab CI/CD pipeline with multiple jobs. They need to ensure that certain jobs execute before others while optimizing the pipeline's efficiency. Which of the following best describes how GitLab determines the order of job execution in a pipeline?