Salesforce Certified Platform Development Lifecycle and Deployment Architect Free Sample Questions

Description

Covers org strategy and release management, application lifecycle methodologies, testing and governance frameworks, risk mitigation, change sets and the Metadata API, and CI/CD techniques.

20 free sample questions150 in the full practice test Other versions: Plat-Arch-202(120),certified-development-lifecycle-and-deployment-architect(304)

Try simulator

Development Lifecycle and Deployment Architect Sample Questions

  1. Question 1

    Intermediate

    Environments Ā· Sandbox Strategy

    A global logistics firm is implementing a source-driven development model for its Salesforce org, which supports three major business units with independent release schedules. A proposal has been made to use a single Full sandbox as a UAT and Staging environment for all three business units to minimize costs and administrative overhead. As the deployment architect, you are asked to evaluate the primary risk of this consolidated staging approach.

    Answer and explanation

    Correct answer: C

    The most significant risk of using a single staging environment for multiple independent release streams is the high probability of conflicts. One team's deployment can destabilize the environment for others, making independent UAT and release validation impossible. This leads to release delays and quality issues. While storage and refresh intervals are valid concerns, the issue of release entanglement is the most critical architectural flaw in this proposed strategy. A better approach involves separate staging environments or a more sophisticated branching and environment management strategy.

  2. Question 2

    Intermediate

    Application Lifecycle Management Ā· Release Management Strategy

    A financial services company is transitioning from a quarterly waterfall release model to a monthly Agile release cycle for their Sales Cloud implementation. The current governance model requires a multi-level Change Advisory Board (CAB) approval that takes, on average, two weeks. This lengthy approval process is incompatible with the new, faster release cadence. Which modification to the governance framework would best support the move to Agile while maintaining necessary oversight?

    Answer and explanation

    Correct answer: B

    A federated or tiered CAB model is a common best practice for adapting governance to Agile methodologies. It maintains critical oversight for high-risk changes (e.g., integrations, sharing model updates) while empowering teams to move quickly on low-risk, routine changes. This balances speed with control. Eliminating the CAB entirely is too risky for a financial services company. Keeping the existing process would halt agility, and adding more people would slow it down further.

  3. Question 3

    Intermediate

    Testing Ā· Testing Methodology

    A development team is using Salesforce DX and a CI/CD pipeline to manage deployments. The pipeline automatically runs all Apex tests, which consistently achieve 90% code coverage. However, during User Acceptance Testing (UAT), users report that complex business processes involving multiple objects and automation rules are frequently failing, despite all underlying Apex classes being fully tested. Which testing strategy should be integrated into the development lifecycle to specifically address this gap?

    Answer and explanation

    Correct answer: C

    The problem described is a classic symptom of strong unit testing but weak integration testing. Apex tests validate code in isolation (units), but they don't verify how that code interacts with other declarative automation (Flows, Process Builder, Validation Rules) to complete a full business process. End-to-end integration testing, often performed using automated UI tools like Selenium or Salesforce-specific tools like Provar, is designed to test these complete user journeys and would have caught these failures before UAT.

  4. Question 4

    Advanced

    Metadata API Ā· Deployment Considerations

    A project team is deploying a new custom object along with its associated profiles, permission sets, and several Apex classes. They are using the Metadata API with a package.xml manifest. The deployment fails with an error indicating that a field on the custom object is not visible to a specific profile, even though the profile XML in the deployment package explicitly grants visibility. What is the most likely cause of this deployment failure?

    Answer and explanation

    Correct answer: C

    In the Metadata API, permissions are hierarchical. To set field-level security ( ) for a field on an object for a given profile, that profile must first have at least Read access to the object itself ( ). If the object permission is missing from the profile definition in the package, the API will reject the attempt to set field permissions, leading to this specific error. This is a common and subtle dependency issue in Metadata API deployments.

  5. Question 5

    IntermediateMultiple answers

    Governance Ā· Automated Governance

    A large enterprise has multiple, independent teams developing on the Salesforce platform. The central governance team wants to enforce a set of coding standards, prevent the deployment of code with known security vulnerabilities, and ensure a minimum 80% test coverage before any code can be merged into the main release branch. Which combination of tools and processes should the architect recommend to automate this governance policy? (Select TWO)

    Answer and explanation

    Correct answers: C, D

    This combination provides automated enforcement of the governance policy. The SCA tool (like PMD, Checkmarx, or SonarQube) automatically checks for coding standards and security issues. The protected branch rules in Git (e.g., GitHub, Bitbucket) act as the gatekeeper, preventing code from being merged unless the automated CI process, which includes the SCA scan and test coverage validation, succeeds. This creates an automated quality gate.

  6. Question 6

    Advanced

    Metadata API Ā· Destructive Changes

    True or False: Using a destructiveChanges.xml file with the sf project deploy command allows for the deletion of metadata components, but if the deployment fails for any reason (e.g., a component to be deployed has an error), the specified destructive changes will still be committed to the target org.

    Answer and explanation

    Correct answer: B

    False. The Salesforce Metadata API deployment process is largely transactional. Destructive changes are processed after the components to be added/updated are successfully deployed. If the deployment of the new/updated components fails, the entire transaction is rolled back, and the destructive changes are never attempted. The deletions only occur if the deployment portion of the package succeeds.

  7. Question 7

    Advanced

    Risk Identification and Mitigation Ā· Rollback Strategy

    A medical device company is preparing for a major product launch supported by a new application in Salesforce. Due to regulatory compliance requirements, the go-live deployment must have a contingency plan that allows for a near-instantaneous rollback to the pre-deployment state if critical issues are found within the first hour. The deployment consists of new Apex classes, Lightning components, and significant changes to sharing rules on the Account object. Which rollback strategy should the architect primarily rely on to meet this requirement?

    Answer and explanation

    Correct answer: B

    For a near-instantaneous rollback, a feature flag (or feature toggle) approach is superior. The new code is deployed but remains dormant until activated. If issues arise, the feature can be switched off instantly via custom settings, custom metadata, or permission sets, reverting the user experience without a complex and time-consuming metadata rollback. A metadata rollback (Option D) is slow and cannot easily revert destructive changes like sharing rule modifications. A manual rollback (Option A) is too slow and error-prone for this requirement. Restoring from a backup (Option C) is a disaster recovery action, not a deployment rollback strategy.

  8. Question 8

    Intermediate

    Continuous Integration Techniques Ā· Source Control Workflow

    A development team uses a Git feature-branching workflow. A developer needs to update a Lightning Web Component and an Apex controller. After creating a feature branch from main, they pull the latest metadata from their Developer sandbox, make changes, and push them to the feature branch. They then create a pull request to merge into main. The CI process fails during the sf project deploy validate step against a CI sandbox. What is the most critical piece of information missing from the developer's process that likely caused this failure?

    sequenceDiagram participant Dev as Developer participant Git participant CI as CI Server Dev->>Git: Create branch `feature/ABC` from `main` Dev->>Dev: Make code changes in sandbox Dev->>Git: Commit and push to `feature/ABC` Dev->>Git: Create Pull Request `feature/ABC` -> `main` Git->>CI: Trigger build CI-->>CI: Run `sf project deploy validate` CI-->>Git: Report FAILED status
    Answer and explanation

    Correct answer: B

    The most common reason for this type of CI failure is that the developer's feature branch is out of sync with the main branch. Other developers may have merged changes into main after the feature branch was created. The developer must rebase or merge main into their local feature branch to resolve any conflicts and incorporate the latest changes before pushing and creating a pull request. This ensures their changes are being validated against the current state of the codebase, preventing integration failures.

  9. Question 9

    Beginner

    Change Sets Ā· Change Set Limitations

    A team is managing a complex Service Cloud implementation. They are using Change Sets for deployments but are struggling with several issues: they cannot delete obsolete workflow rules, it's difficult to track which version of a component is in which sandbox, and deployments frequently fail due to missed dependencies. To address ALL of these specific problems, which single tool or technology should be adopted?

    Answer and explanation

    Correct answer: B

    This combination directly solves all the stated problems. A version control system (VCS) like Git provides versioning and a history of changes. Scriptable tools like the Salesforce CLI, which use the Metadata API, can perform destructive changes (deleting components) and are better at managing complex dependencies when the entire source is tracked in the VCS. A Full sandbox doesn't solve versioning or deletion. DevOps Center builds on top of this concept but the core technology is VCS + CLI. Jira is for project management, not deployment.

  10. Question 10

    Intermediate

    Governance Ā· Governance Framework

    A new Salesforce COE (Center of Excellence) is establishing a governance framework. They want to ensure that before any new feature is deployed to production, it has been formally signed off by the business product owner, passed all automated tests, and received a security review. Which governance mechanism is most appropriate for enforcing this multi-stage approval process?

    Answer and explanation

    Correct answer: B

    Quality Gates are predefined checkpoints in the development lifecycle that a project must pass to move to the next stage. Defining quality gates between environments is the correct mechanism to enforce these requirements. For example, to move from QA to Staging, the gate might require passed automated tests. To move from Staging to Production, the gate would require business sign-off and a completed security review. This formalizes the approval process at critical transition points.

Register free for 10 more questions

Or unlock all 150 Development Lifecycle and Deployment Architect questions with explanations, timed mode and flashcards.