Salesforce Certified Platform Development Lifecycle and Deployment Architect Free Sample Questions

Description

Covers application lifecycle methodologies, governance and risk mitigation, sandbox and environment strategy, source control and deployment tools, testing, release management, and observability.

20 free sample questions304 in the full practice test Other versions: Plat-Arch-202(120),Development Lifecycle and Deployment Architect(150)

Try simulator

certified-development-lifecycle-and-deployment-architect Sample Questions

  1. Question 1

    Advanced

    Building · Branching Strategies

    A financial services firm is implementing a complex, multi-stream development model with three parallel projects targeting the same production org. The CTO has mandated a strict quality gate process where features from different projects must be integrated and tested together before being considered for a production release. The current process involves manual merges, which has led to significant delays and integration bugs. The architect needs to recommend a branching strategy that formalizes this integration step and provides stability for releases.

    Answer and explanation

    Correct answer: D

    GitFlow is the optimal choice because its structure is designed for this exact scenario. Feature branches provide isolation for each project stream. The 'develop' branch serves as the mandatory integration point where all features are merged and tested together, fulfilling the CTO's requirement for a quality gate. The 'main' branch remains stable, only receiving code that has passed integration testing.

  2. Question 2

    Intermediate

    Releasing · DevOps Center Configuration

    A large enterprise is adopting Salesforce DevOps Center. They have a complex pipeline with stages for Integration, UAT, Staging, and Production. The security team requires that any deployment to the UAT environment must first pass all Apex tests, but they want to avoid running tests on every commit to the Integration environment to speed up development cycles. How should the architect configure the DevOps Center pipeline stages to meet these requirements?

    Answer and explanation

    Correct answer: A

    This is the correct configuration. In DevOps Center, setting a stage's test level to 'Default' means no tests are run upon promotion into that stage. Setting the UAT stage's test level to 'Run Local Tests' enforces that all local tests must pass before a promotion into UAT is successful, meeting the security team's requirement. This balances speed in early stages with quality control in later stages.

  3. Question 3

    AdvancedMultiple answers

    Operating · Event Monitoring

    A global healthcare provider is using Event Monitoring to track user activity for HIPAA compliance. They are specifically concerned about unauthorized access to patient data stored in a custom object named Medical_Record__c. An architect needs to design a monitoring solution to generate a near real-time alert whenever a user who is NOT a member of the 'Clinical Staff' public group views more than 10 Medical_Record__c records within a 5-minute window. Which combination of tools is best suited to build this solution? (Select TWO)

    Answer and explanation

    Correct answers: A, D

    Transaction Security Policies are the core mechanism for this. They can be configured to trigger on the 'ReportEvent' (when a user runs a report or list view) or 'ApiEvent' and evaluate complex conditions in near real-time using Apex or Condition Builder. This is where the logic for user group, record count, and time window would be implemented.

    These are the specific Real-Time Event Monitoring events that capture the user's action of viewing records via reports or list views. The Transaction Security Policy would be triggered by one of these events to evaluate the conditions and take action.

  4. Question 4

    Intermediate

    Building · Package Development

    A development team is building a new feature using the package development model. They have created an unlocked package version and promoted it through their CI/CD pipeline to the UAT sandbox. During UAT, a critical bug is found. The developer fixes the bug in their scratch org. What is the correct sequence of steps the developer must take to get the bug fix deployed to UAT?

    Answer and explanation

    Correct answer: C

    This is the correct process for the package development model. Changes to a package must be incorporated by creating a new version of that package. This new version is then promoted (made available for installation) and installed into the target orgs (like UAT), which performs an upgrade. This maintains the integrity and version history of the package.

  5. Question 5

    Intermediate

    Testing · Testing Methodologies

    A company performs weekly deployments to production every Saturday. The release manager wants to implement a comprehensive testing strategy that ensures high quality without significantly delaying the release. The architect has defined several testing phases: Unit Tests, Regression Testing, Performance Testing, and User Acceptance Testing (UAT). Which testing phase is MOST critical to perform in the full copy sandbox (Staging) right before the production deployment?

    Answer and explanation

    Correct answer: C

    The full copy sandbox, which mirrors production data and configuration, is the ideal and final environment for two critical pre-deployment activities. 1) Regression Testing: to ensure that the new changes haven't broken existing functionality. 2) UAT: to allow business users to provide final sign-off that the new functionality meets their requirements in a production-like setting. These are the last quality gates before go-live.

  6. Question 6

    Advanced

    Testing · Apex Code Coverage

    True or False: When using the Salesforce CLI command sf project deploy start with the --test-level RunLocalTests flag, the deployment will fail if the overall code coverage in the target org drops below 75% as a result of the deployment, even if all tests pass.

    Answer and explanation

    Correct answer: A

    This statement is true. For deployments to production and sandboxes with test execution, Salesforce enforces a minimum of 75% code coverage for all Apex code (triggers and classes) in the org. If the deployment causes the overall coverage to fall below this threshold, the deployment will fail, regardless of whether the individual tests passed.

  7. Question 7

    Intermediate

    Operating · Deployment KPIs

    A project manager is concerned about the team's ability to meet a tight deadline due to a high change failure rate and long lead times for changes. The development team currently uses Change Sets for all deployments. The architect has been asked to recommend a strategy to improve deployment velocity and reliability. Which action provides the MOST significant improvement in these areas?

    Answer and explanation

    Correct answer: B

    This is the most impactful recommendation. Source control provides versioning and collaboration. A CI/CD pipeline automates testing and deployment, which directly reduces lead time. Automated validation and deployments significantly lower the change failure rate by catching errors early and ensuring consistency. This addresses the root cause of the project manager's concerns.

  8. Question 8

    BeginnerMultiple answers

    Building · Salesforce DX

    A development team is migrating from an org-based development model using Change Sets to a source-driven model using Salesforce DX and Git. The architect needs to explain the purpose of the .forceignore file to the team. Which of the following are valid use cases for the .forceignore file? (Select TWO)

    Answer and explanation

    Correct answers: A, B

    This is another key use case. When developers work in an org with managed packages, they don't want to pull package metadata into their local project. The .forceignore file can be used to specify the package namespace to exclude all its components.

    This is a primary use case. Teams often manage profiles and permissions separately or through specialized tools, so .forceignore is used to exclude them from being overwritten by developers retrieving changes from their individual scratch orgs.

  9. Question 9

    Intermediate

    Deploying · Metadata API

    A new release manager has joined a company that has a mature CI/CD process. They notice that the deployment pipeline includes a 'Quick Deploy' option for promotions to production. The architect explains that this is a feature of the Metadata API. Under which specific circumstance is a Quick Deploy available for a production deployment?

    Answer and explanation

    Correct answer: B

    This is the precise condition for Quick Deploy. A validation-only deployment (checkOnly=true) must have been successfully run against the target org with the identical set of components. If this validation is recent (within 10 days) and successful, Salesforce allows a 'Quick Deploy' which skips running the tests again, significantly speeding up the final deployment.

  10. Question 10

    Intermediate

    System Design · Sandbox Strategy

    An architect is designing an environment strategy for a new Salesforce implementation. The project involves a large data migration, extensive integration development with an ERP, and a new custom UI for the sales team. The project plan requires separate environments for developers, integration testing, and final business sign-off with production-like data.

    Which combination of sandboxes represents the most cost-effective and appropriate strategy?

    graph TD A[Developer Sandboxes] --> B(Integration Environment); B --> C(UAT/Staging Environment); C --> D((Production));
    Answer and explanation

    Correct answer: B

    This is the optimal strategy. Developer Sandboxes are perfect for isolated developer work. A Developer Pro Sandbox offers more data/file storage than a standard Developer, making it suitable for integration testing with the ERP. A Full Sandbox is essential for UAT/Staging because it provides an identical copy of production metadata and a full copy of the data, which is necessary for realistic testing of the data migration and getting business sign-off.

Register free for 10 more questions

Or unlock all 304 certified-development-lifecycle-and-deployment-architect questions with explanations, timed mode and flashcards.