1. Debbie committed some changes to the Op- Add Layout to the Exclude From Auto
portunity Layout but, after deploying her Resolve multi-select picklist field in
changes from DEV to INT, she found her the Pipeline record
changes were not there due to an auto-re-
solved Git conflict she was not aware of. How
can she prevent this from happening again in
all future promotions?
2. Dave committed a new method on the Ac- Remove ApexClass from the Exclude
countOperations class but, after deploying From Auto Resolve multi-select pick-
his changes from DEV to INT, he found his list field in the Pipeline record.
changes were not there due to an auto-re-
solved Git conflict he was not aware of. What Manually promote and remove Apex-
could he have done to prevent this from hap- Class from the Exclude From Auto Re-
pening just in this particular promotion?** solve multi-select picklist field in the
Promotion record.
3. Who can see the Advanced button in button on Any user with Edit User Story Commit
the Commit Changes page? Base Branch custom permission as-
signed
4. You're unable to see the Advanced button You have not been assigned the Edit
on the Commit Changes page with the De- User Story Commit Base Branch cus-
structive Changes Git operation selected. What tom permission.
could be the reason?
5. Dave would like to change the base branch on Assigning Dave the Edit User Story
a user story from master to uat, but he can't Commit Base Branch custom permis-
see the Advanced button. As a Copado admin, sion.
what is the best way to fix this?
6. Debbie is deploying a user story with Apex Run Local Tests.
components from UAT to production. The pro-
, Copado Developer - Practice Questions
motion test level on the user story is set to
NoTestRun. What test level is going to be en-
forced in the deployment to production?
7. The Staging Environment record has the Run If the Run all local tests checkbox is
all local tests checkbox enabled. A user story enabled in the destination environ-
with Apex components and the promotion test ment, every Copado deployment will
level set to RunSpecifiedTests is being promot- always run all local tests.
ed and deployed. What test level is going to be
enforced?
8. Debbie is deploying a user story with Apex Deployments of Apex components to
components from UAT to production. The pro- production will always run all tests.
motion test level on the user story is set to
RunSpecifiedTests. What test level is going to
be enforced in the deployment to production?
9. After passing Apex tests on a user story and (1) The promotion test level on the
deploying an Apex hotfix user story from dev user story was set to RunSpeci-
to uat, other tests are failing in the validation fiedTests but the Run All Tests check-
deployment in production. How is this possible box is enabled in the Production En-
if the deployment didn't fail before? (2) vironment record.
(2) The promotion test level on the
user story was set to NoTestRun.
10. Even though Dave has defined NoTestRun in Deployments of Apex components
the Promotion Test Level field on his user story, to production will use RunLocalTest
the deployment to production is running local even though the test level on the user
tests. What could be the reason for this? story is NoTestRun.
11.
, Copado Developer - Practice Questions
What test level is applied to the deployment The test level specified in the Promo-
when you check the Promote & Deploy check- tion Test Level field on the User Story
box? record.
12. Which IS TRUE about Static Code Analysis us- (1) You can review the violations from
ing Code Scan? (3) the Static Code Analysis Result related
list on the User Story record.
(2) You need to have a CodeScan ac-
count.
(3) You need to create Static Code
Analysis Settings with CodeScan
record type.
13. After pushing changes using the Copado CLI, The environment and org credential
you notice that the feature branch is being of the related user story were acci-
merged to a different environment branch in dentally changed to a different one.
your remote repository. What could be the rea-
son behind this?
14. While having work in progress in dev1, you are The CLI push creates a deployment
trying to deploy a small change to the Admin of the complete profile file which
profile using the Copado CLI. After pushing could include dependencies to work
and validating your changes, the validation in progress.
deployment is failing. why?
15. Which of the following expressions is a correct required
regex expression that finds the value in the '(?s)(\n\s*<fields>(?:(?!<fields>).)*?<re-
required tag of a field? quired>___REPLACEVALUE___</re-
quired>(?:(?!<f ields>).)*?</fields>)'.
16.