Professional Documents
Culture Documents
SF Admin Dumps12345
SF Admin Dumps12345
8.
Dave is getting an error message when trying to promote and
deploy his Apex classes and components to the integration
environment. What could be the issue? Select all that apply!
The Apex code coverage is below the minimum Apex code
coverage defined on the environment. (Correct)
Apex tests were not executed on the user story
The minimum Apex code coverage defined on the user
story is below the code coverage defined on the environment.
The Apex code coverage is below the minimum Apex code
coverage defined in the Minimum Apex Code Coverage field
on the user story. (Correct)
9.
You want to give an existing PMD rule the lowest priority.
How can you do this?
Change the rule priority in the PMD Default RuleSet to
Low Priority.
Change the rule priority in the PMD Default RuleSet to 0.
Change the rule priority in the PMD Default RuleSet to 5.
(Correct)
Change the rule priority in the PMD Default RuleSet to
Info.
10.
You have a PMD static code analysis rule with priority 2. If
this rule is violated once, what will be the violation score?
3
4 (Correct)
6
2
11.
As part of your development process, developers can only
create scratch orgs from Git packages. How can you ensure
that developers can't select a different metadata source?
Select Git Packages in the Copado DX Mode picklist field
in the User Story record.
Set the Copado DX Mode picklist field to Git Packages in
all the environments.
Select Git Packages In the Copado DX Mode picklist field
in the Pipeline record.
Remove from the developer profile the object level
permissions to all metadata sources except for Git packages.
12.
You have committed a custom field, but when you look at the
feature branch, you don't see any updates. What do you need
to check in order to troubleshoot the issue?
Verify if the field is excluded in a YAML.
Verify if the field is excluded in the metadata filter of the
org credential.
Verify if the field is excluded in an environment variable.
Verify if the field is excluded in the .gitignore file.
(Correct)
13.
How can you link the Copado CLI with the org where Copado
is installed? Select all that apply!
You can use the command sfdx plugins:install
@copado/copado-cli.
You can use the command sfdx copado:auth:set -a
[myOrgAlias]. (Correct)
You can use the command sfdx force:auth:web:login.
You can use the command sfdx copado:auth:set -u
[user@mycompany.com]. (Correct)
14.
Rob is deploying an important release from uat to production
and would like to temporarily freeze some users to ensure
they don't make any changes during the release window that
could have a negative impact on the release. What would be
the easiest way to do this?
Rob can create a manual task to manually freeze the users
in production.
Rob can create a pre-deployment Apex task that freezes the
users using an Advanced (multi-step) deployment with an
Apex deployment step. (Correct)
Rob can create a post-deployment Apex task that freezes
the users using an Advanced (multi-step) deployment with an
Apex deployment step.
Rob can send an email notification to the relevant users to
inform them of the release window so that they don't make
any changes during that period of time.
15.
After passing Apex tests on a user story and deploying an
Apex hotfix user story from dev to uat, other tests are failing
in the validation deployment in production. How is this
possible if the deployment didn't fail before? Select all that
apply!
The promotion test level on the user story was set to
RunSpecifiedTests but the Run All Tests checkbox is enabled
in the Production Environment record. (Correct)
The promotion test level on the user story was set to
NoTestRun. (Correct)
The test level in the Promotion record was set to
RunLocalTests in previous deployments.
The test level in the Promotion record was set to
RunAllTests in previous deployments.
16.
As part of post scratch org creation, you would like to run a
script to schedule a class in the scratch org. How you can
accomplish this?
Create a deployment with an Apex step and add the script
there. In the extensions in the scratch org wizard, select the
deployment you have just created.
In the extensions in the scratch org wizard, add the script
that you want to execute.
In the user story from where you are creating the scratch
org, create an Apex deployment task and add the script there.
A and C. (Correct)
17.
Debbie is attempting to deploy a profile from a sandbox on
the latest Salesforce Preview Instance to production on the
latest Salesforce GA version. She is receiving errors due to
new user permissions which have been introduced in the
Preview Instance that do not exist in the GA version of
Salesforce. How can Debbie move her deployment forward?
She can remove all profiles from the deployment and push
them once production has been upgraded by Salesforce.
In the Git Promotion deployment step, she can leverage the
Find and Replace feature to exclude the user permissions
introduced in the higher API version and redeploy.
Log a case with Copado Support.
She can use environment variables to exclude the user
permissions introduced in the higher API version and
redeploy.
18.
Which of the following examples could potentially create a
Git conflict?
Merge the release branch into the destination branch.
Merge the feature branch into the source org's branch.
Merge the feature branch into the promotion branch.
(Correct)
B and C.
19.
After deleting a component in Dev1, Debbie has created a
new user story to delete the component from the repository
and upper environments. She has refreshed the metadata index
before selecting the component. What can she do now in order
to perform a destructive change commit of the component?
Change the org credential and the environment on the user
story and find the component in another org.
Edit the metadata attachment on the user story and add the
component.
Click on Revert Metadata Index to return to the previous
status.
Use the Add Row button on the Commit Changes page and
add the API name of the component. (Correct)
20.
Why the commits on a user story could display the
status Commit not in branch?
The committed component had no changes compared to the
master branch.
Someone has deleted the commits directly in the feature
branch.
The commit process failed.
Someone has used the Re-Create Feature Branch on the
user story (Correct)
21.
Where can you set the Maximum Static Code Analysis Score?
In the Org Credential record.
In the Pipeline record.
In the Environment record. (Correct)
In the User Story record.
22.
Dave has been asked to delete a custom object that has been
deployed only to UAT. He has committed the object using
the Destructive Changes Git operation. While reviewing the
commits, he finds out that the commit has the status No
changes. What could be the reason for this?
He doesn't have permissions to use the Destructive Changes
Git operation.
He does not have CRED access to the object in the source
org.
The base branch was set to master branch. (Correct)
None are correct.
23.
When deploying US1 and US2 in the same promotion, the old
code in US2 is overwritting the most up-to-date code in US1.
How can a developer resolve this issue?
Resolve the conflict manually using the Online Conflict
Resolution feature. (Might be this ans)
Commit the code again in US1 before deploying.
Use the Order User Stories by field in the Promotion
record.
Commit the code again in US2 before deploying.
24.
Debbie has created a new custom field in Dev1. She commits
it on a user story together with the permission set to deploy
FLS. After committing the changes, she realizes she forgot to
grant the permission set access to the field in Dev1, so she
goes back to Dev1 and updates the FLS. What is the easiest
way to ensure the FLS is deployed to the next environment
together with the field?
She can go back to the user story where she committed the
changes and use the Recommit Files Git operation. (Correct)
She needs to create a new user story and commit again the
permission set.
She needs to delete the user story, create a new one and
commit again the field and the permission set.
She needs to create a new user story and commit again the
custom field.
25.
Rob’s team wants to use data templates to import actual data
into dev1 in order to test a feature they have developed in that
environment. What is the easiest way for them to ensure no
sensitive data is imported into dev1? Select all that apply!
They will need to manually update the data included in
sensitive fields one the deployment to dev1 is completed.
They can create a Manual Task deployment step and
manually remove the sensitive fields from dev1 once the
deployment is completed.
They can use the Replace Value option in the Object Fields
tab of their data templates and enter a random value in the
fields that contain sensitive data.
They can use the Scramble Value option in the Object
Fields tab of their data templates for fields that contain
sensitive data, and Copado will replace the characters in the
original value with random characters while deploying.
26.
Within the same sprint, Debbie added, a defaultPhone method
and Dave added a defaultUrl method, both to the account
operations class. Since, Debbie and Dave are working in their
individual sandboxes, after promoting the second user story, a
Git conflict arose. They teamed up to solve the conflict using
Copado's online conflict resolution feature. What happens
when both user stories are mass back-promoted?
The defaultPhone method overwrites the other method.
Copado uses semantic conflict resolution.
The defaultUrl method overwrites the other method.
Copado uses the conflict solution that was previously
created. (Correct)
27. Rob would like to define the following quality gates:
1. Run an Apex Test with Validation for Apex classes and
triggers.
2. Run a Compliance Check for profiles and permission
sets.
What is the minimum number of metadata groups he needs to
create?
2, one for Apex classes and triggers and one for profiles
and permission sets. (This is correct ans)
3, one for profiles and permission sets, one for Apex classes
and one for Apex triggers.
4, one for each metadata type.
3, one for the Apex components (classes and triggers), one
for profiles and one for permission sets.
28.
When working with data templates, how can you avoid
getting validation rule errors when deploying your templates
to the next environment?
You can use a manual task to manually deactivate the
validation rule before executing the deployment and reactivate
it once the deployment is completed.
You can do a validation deployment to make sure you don't
have any offending records.
You can enable the Bypass Validation Rules checkbox in
the data template.
All are correct.
29.
For which of the following components would you enable the
Online Conflict Resolution feature? Select all that apply!
Custom object translations
Apex triggers (Correct)
Apex classes(Correct)
Profiles
30.
Dave has set up the following connection behavior in INT:
1.
Rob, would like to enforce the following quality gates
when deploying to INT:
A static code analysis for all Apex classes and
triggers.
A validation deployment for all Apex classes and
triggers.
A validation deployment for profiles.
3.
Debbie is getting an error while trying to modify
the Minimum Apex Code Coverage field on the user
story. What could be the reason for this?
The minimum Apex code coverage of the user story
cannot be below the minimum Apex code coverage of
the environment.
The minimum Apex code coverage of the user story
cannot be above the minimum Apex code coverage of
the environment.
The minimum Apex code coverage of the user story
cannot be different from the minimum Apex code
coverage of the environment. (Correct)
The minimum Apex code coverage on the user story
cannot be modified.
7.
After deleting the component in Dev1, Dave has
accidentally refreshed the metadata index. What can he
do now in order to perform a destructive changes
commit of the component? Select all that apply!
He can recreate the component in Dev 1 and refresh
the metadata index again. (Correct)
He can use the Org Credential lookup field in the
Commit Changes page and find the component in
another org.
He can the Add Row button in the Commit Changes
page and add the API name of the component. (Correct)
He can edit the metadata attachment on the user
story and add the component.
8.
Which IS TRUE about Static Code Analysis using
CodeScan?
You can generate a default rule set from Copado.
You can review the violations from the Static Code
Analysis Result related list on the User Story record.
(Correct)
The rule set includes built-in rule records.
The score is calculated by subtracting the selected
rule priority from 5.
10.
Where can you control the available metadata sources
when you create a scratch org from a user story?
In the Copado DX Mode picklist field in the Pipeline
record. (Correct)
In the Copado DX Mode picklist in the Environment
record.
In the Copado DX Mode picklist field in the User Story
record.
In the Copado DX Mode picklist field in the Dev Hub
Org Credential record.
11.
You have created two different Account page layouts in
Dev1, one for sales reps and and another one for the
support team. You have committed the two page layouts
on a user story and you are ready to deploy them to the
next environment. However, the sales manager makes a
last-minute decision for his team to continue using the
standard Account page layout for now. What is the
easiest way to prevent the sales reps layout from being
deployed while deploying the support team layout?
Delete the user story, create a new one and commit
just the layout for the support team.
Use the Recommit Files Git operation, flag the Create
New Feature Branch checkbox and select only the
layout for the support team.
Use the Recommit Files Git operation, flag the Re-
Create Feature Branch checkbox and select only the
layout for the support team.
Go to the user story and use the Destructive Changes
Git operation to delete the sales reps layout. Then, use
Commit Changes and just commit the layout for the
support team.
12.
Dave comitted a new method on the AccountOperations
class but, after deploying his changes from DEV to INT,
he found his changes were not there due to an auto-
resolved Git conflict he was not aware of. What could he
have done to prevent this from happening just in this
particular promotion?
Manually promote and remove ApexClass from the
Exclude From Auto Resolve multi-select picklist field in
the Promotion record.
Manually promote and add ApexClass to the Exclude
From Autore Solve multi-select picklist field in the
Promotion record.
Remove ApexClass from the Exclude From Auto
Resolve multi-select picklist field in the Pipeline record.
Add ApexClass to the Exclude From Auto Resolve
multi-select picklist field in the Pipeline record.
13.
When attempting to deploy a profile from a sandbox in
the latest Salesforce Preview Instance to production in
the latest Salesforce GA version, Debbie is receiving
errors due to new user permissions introduced in the
Preview Instance that do not exist in the GA version of
Salesforce. What can she do to move her changes
forward?
Update the .gitignore file in the master branch to
exclude the user permissions introduced in the higher
API version and redeploy.
Use the Find and Replace feature in the Git Promotion
deployment step to exclude the user permissions
introduced in the higher API version and redeploy.
(Correct)
Manually remove the ManageSandboxes permission
from the destination branch and redeploy.
Log a case with Salesforce support to get the
permissions enabled in production.
14.
You would like to create a scratch org that has a
duration of 15 days. Where can you set this value?
In the project template
In the extensions.
In the user story.
In the scratch org definition. (Correct)
15.
You are using the auto-resolve conflict resolution
feature, Copado will stop the merge of the feature
branch into the promotion branch if it detects a conflict.
True
False (I think this is correct, because in auto resolve
copado merge it when there is conflict)
16.
For which of the following components is it not
recommended to use auto-resolve? Select all that apply!
You have reached the max number of allowed answers
Profiles
Custom objects
Apex triggers
Visualforce pages
https://docs.copado.com/article/k40u4rllf2-online-conflict-
resolution
18.
Even though Dave has defined NoTestRun in the
Promotion Test Level field on his user story, the
deployment to production is running local tests. What
could be the reason for this?
NoTestRun can never be specified for a deployment
to production.
Deployments to production will always run the test
level specified in the Promotion record.
Deployments of Apex components to production will
use RunLocalTest even though the test level on the user
story is NoTestRun. (Correct)
Deployments of Apex components to production will
always run the test level specified in the Promotion
record.
19.
What test level is applied to the deployment when you
check the Promote & Deploy checkbox?
The test level specified in the destination Org
Credential record.
The test level specified in the Promotion Test Level
field on the User Story record. (Correct)
The test level specified in the Test Level field of the
destination environment.
The test level specified in the source environment.
ResetPreviousNextSubmit
22.
Rob, has set up the following connection behavior in
UAT:
Dave, the lead developer, has committed an Apex class
in dev1 and is going to deploy it to UAT. What will
happen once the user story is successfully deployed to
UAT?
The user story will be displayed in the user stories
behind count on the Pipeline page, and Dave will have
to manually back-promote it by clicking on Back
Promote & Deploy.
Copado will re-run the quality checks and
automatically back-promote the user story to the other
lower environments connected with UAT only if the
relevant Apex tests pass. (This might be correct, still
need to check)
Copado will send Dave a notification to let him know
that the user story is ready to be back-promoted to other
lower environments connected with UAT.
Copado will automatically back-promote the user story
to other lower environments connected with UAT.
23.
You're unable to see the Advanced button on
the Commit Changes page with the Destructive
Changes Git operation selected. What could be the
reason?
You have not been assigned the Edit User Story
Commit Base Branch custom permission.
The Advanced button has not been added to the
Commit Changes page layout.
You have not been assigned the Edit User Story
Commit Base Branch permission set.
The Base Branch field on the user story was left
blank. (This is the correct ans)
24.
What happens if you execute the command sfdx
copado:auth:set -u [user@mycompany.com]?
Your org credential will be authenticated.
The Copado CLI will be linked to the org where
Copado is installed. (Correct)
The Copado CLI will be installed.
The Salesforce CLI will be linked to the Copado CLI.
25.
What happens when you use the Recommit Files Git
operation and select the Re-Create Feature
Branch checkbox? Select all that apply!
You have reached the max number of allowed answers
Both old and new Git commits are included in the
feature branch.
Previous commits are not included in the newlly
created feature branch.
The status of previous commit records is set to
Commit not in branch. (Correct)
Previous commit records will be removed from the
user story.(Correct)
28.
You have work in progress in dev1. After retrieving from
the org and pushing a hotfix for your Admin profile from
the Copado CLI, the validation deployment is failing.
Why?
The CLI push creates a deployment that includes the
nested components in the profile file without including
dependencies to work in progress.
Copado has auto-resolved the Git conflict in the profile
with changes that are not available in the feature
branch.
Copado has auto-resolved the Git conflict in the profile
with changes that are not available in the source
environment.
While pushing your changes from the CLI, Copado
deploys the complete profile file which could contain
references to other work in progress in dev1.
29.
You would like to receive an alert whenever the static
code analysis score of a user story is above 15. How
you can achieve this?
In the Environment record, set the Maximum SCA
Score field to 15. Correct
In the Org Credential record, set the Maximum SCA
Score field to 15.
In the Pipeline record, set the Maximum SCA Score to
15.
In the User Story record, set the Maximum SCA Score
field to 15.
30.
You would like to create a YAML file to remove all
references to Field Level Security from managed fields
in profiles. Which value should you use in the
replace_values parameter?
packagePrefix__.*?.
packagePrefix__fieldName1,
packagePrefix__fieldName2,
packagePrefix__fieldName3 and so on.
{!Environment.classes/packagePrefix__.*}.
This is not possible.
1.
While working in Dev1 Debbie has committed a new
custom field “Amount” and a validation rule “Mandatory
Amount” in the same user story. Later, during the sprint,
the business analyst decided that the validation rule
should not be included in this sprint but rather moved to
the next sprint. Nonetheless, the custom field must
remain and be delivered in the current sprint. How can
Debbie accomplish this?
On the same user story, use the Destructive
Changes Git operation to delete the validation rule.
Delete the user story, create a new one and commit
only the custom field as retrieve only this time.
On the same user story, use the Recommit Files Git
operation and deselect the validation rule.
On the same user story, use the Recommit Files Git
operation, check the Re-Create Feature Branch
checkbox, deselect the validation rule and
recommit.
2.
To which of the following components does Copado
apply the resolution strategy "branch A wins over
branch B"? Select all that apply!
Apex classes
Custom objects
Profiles
Layouts
3
Ana is the new NextGen networks admin. She has
taken a Git snapshot in dev1 but when looking at
the dev1 branch, she can't find the translation files.
What could be the reason?
Her user in the Dev1 environment does not have
access to Translation Workbench.
The translations are excluded in the .gitignore file.
The translations are excluded in a YAML file.
4 Dave has been assigned the task of deleting a
custom object that has not been used in production
for a long time. After committing the destructive
changes, he notices that no feature branch has
been created. What could be the reason?
The base branch was set to master branch, and the
component was not yet in production.
He did not have rights to delete the component in
the source org.
The Re-Create Feature Branch checkbox was not
flagged.
While adding a row, Dave misspelled the metadata
API name of the component he wanted to delete in
the metadata grid.
Rob would like to run Apex tests for all Apex metadata
coming into the UAT environment and a compliance
check for profiles and permission sets coming into the
same environment. How can he accomplish this?
He needs to set up 3 connection behaviors in UAT
with 1 quality gate each, 1 for Apex tests, 1 for the
compliance check for permission sets and 1 for the
compliance check for profiles.
He needs to set up 1 connection behavior in UAT with
2 quality gates, an Apex test with Validation for the Apex
elements and a Compliance Check both for profiles and
for permission sets.
He needs to set up 2 connection behaviors in UAT,
one for the Apex tests and another one for the
compliance check.
He needs to set up 1 connection behavior in DEV with
2 quality gates, an Apex test with Validation for the Apex
elements and a Compliance Check both for profiles and
for permission sets.