C_CPE_2409 · Question #20
What is the prerequisite before you can create a CI/CD job for a project?
The correct answer is A. The project has been shared to a remote Git repository. A CI/CD pipeline must have a remote Git repository because CI/CD systems (like GitHub Actions, GitLab CI, or Jenkins) are triggered by events in that repository - pushes, pull requests, merges - and need a remote URL to clone, run, and report back on your code. Without a shared…
Question
What is the prerequisite before you can create a CI/CD job for a project?
Options
- AThe project has been shared to a remote Git repository.
- BThe project has been deployed.
- CThe project has been previewed.
How the community answered
(18 responses)- A89% (16)
- B6% (1)
- C6% (1)
Explanation
A CI/CD pipeline must have a remote Git repository because CI/CD systems (like GitHub Actions, GitLab CI, or Jenkins) are triggered by events in that repository - pushes, pull requests, merges - and need a remote URL to clone, run, and report back on your code. Without a shared remote repo, the CI/CD service has nothing to connect to or monitor.
Why B is wrong: Deployment is an output of a CI/CD pipeline, not a prerequisite. You set up CI/CD in order to automate deployment, so it can't come first.
Why C is wrong: Previewing (e.g., running a local dev server) is a local development step and has no bearing on whether a CI/CD system can be configured. CI/CD operates on remote events, not local previews.
Memory tip: Think of CI/CD as a "remote-controlled robot" - it needs a remote address (the Git repo URL) before it can do anything. No address, no robot.
Topics
Community Discussion
No community discussion yet for this question.