certified-development-lifecycle-and-deployment-architect Sample Questions & Answers
Centers on organizational and environment strategy including sandbox management, the single biggest weight, plus source control and deployment tooling, release management, testing methods, governance and risk planning, ALM phases, and monitoring.
Launch the full certified-development-lifecycle-and-deployment-architect simulator →Showing 10 of 20 free samples.
- Question 1Advanced
Testing · Apex Code Coverage
True or False: When using the Salesforce CLI command
sf project deploy startwith the--test-level RunLocalTestsflag, 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.Show answer & 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.
- Question 2Intermediate
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?
Show answer & 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.
- Question 3BeginnerSelect 2
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
.forceignorefile to the team. Which of the following are valid use cases for the.forceignorefile? (Select TWO)Show answer & 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
.forceignorefile 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
.forceignoreis used to exclude them from being overwritten by developers retrieving changes from their individual scratch orgs. - Question 4Intermediate
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?
Show answer & 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. - Question 5Intermediate
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));Show answer & 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.
- Question 6Intermediate
Planning · Governance Framework
A mature organization has established a Center of Excellence (CoE) to govern its Salesforce implementation. A project team is proposing a new feature that involves significant automation on the Opportunity object, which could impact existing triggers and integrations. The CoE needs to ensure the proposed design is sound, scalable, and aligns with enterprise standards before development begins. What is the primary role of the CoE in this scenario?
Show answer & explanation
Correct answer: D
This is the core function of a CoE's governance process. The CoE acts as an architecture review board, evaluating the proposed solution against established best practices, scalability requirements, and its potential impact on the existing system. They provide guidance and approval before significant development effort is invested.
- Question 7IntermediateSelect 3
Testing · Data Migration Testing
A company is planning to migrate from a legacy CRM to Salesforce. The project involves migrating 20 million contact records. The data must be cleansed, de-duplicated, and transformed before being loaded into Salesforce. The architect must define a testing plan specifically for the data migration effort. What are the MOST important aspects to validate during this testing? (Select THREE)
Show answer & explanation
Correct answers: C, D, E
Validating record counts is a fundamental check to ensure that no data was lost or unexpectedly duplicated during the extraction, transformation, and load (ETL) process.
For a large data volume (20 million records), the duration of the load is a critical factor. Testing the performance ensures the migration can be completed within the planned cutover window and helps identify any throttling or governor limit issues.
Since the data requires transformation, it's crucial to test that the transformation rules (e.g., combining fields, changing formats) were applied as expected. This is often done by comparing a sample set of records from the source and target systems.
- Question 8Advanced
Deploying · Troubleshooting
During a deployment using the Metadata API, an error occurs: 'The specified profile or permission set does not exist.' The component being deployed is a new Apex class, and the deployment package includes permissions for this class in a Profile. The architect confirms the Profile definitely exists in the target org. What is the most likely cause of this error?
Show answer & explanation
Correct answer: D
This is a classic Metadata API dependency issue. You cannot deploy permissions for a new component (like an Apex class, field, or object) in a profile or permission set unless the component itself is also part of the same deployment package. The deployment fails because, at the moment it tries to apply the profile change, the new Apex class doesn't exist in the org yet.
- Question 9Advanced
Planning · Governance Framework
Case Study
Universal Containers (UC) is a rapidly growing global enterprise with a single, highly complex Salesforce org. They have over 50 active development projects at any given time, managed by different teams across multiple geographic regions. Their current application lifecycle management (ALM) process is chaotic and lacks formal governance, leading to frequent production failures, overwritten code, and an inability to coordinate releases effectively. The CIO has sponsored an initiative to establish a robust governance framework and mature their ALM practices.
The current state includes: developers working in shared Developer sandboxes, deployments performed via manually created Change Sets, and no formal testing process beyond basic developer checks. There is no source control system in place. The business is demanding faster feature delivery, but the IT department is struggling with instability and technical debt. The CIO wants a scalable framework that can support both agile and more structured project delivery models.
The key requirements for the new framework are:
- Establish a central body to oversee architectural standards and best practices.
- Implement a version control system to manage all metadata changes.
- Define a clear, multi-stage environment strategy to support parallel development and quality assurance.
- Automate testing and deployments to improve speed and reliability.
Which of the following proposals best addresses UC's needs for a mature governance and ALM framework?
Show answer & explanation
Correct answer: D
This proposal directly addresses all four key requirements. A CoE provides the central governance body. Git and a source-driven model with scratch orgs solve the version control and developer isolation problems. A multi-stage sandbox strategy (Integration, UAT, Staging) supports a robust quality process. A CI/CD pipeline provides the necessary automation for testing and deployments, improving both speed and reliability.
- Question 10Beginner
Releasing · DevOps Center
A Salesforce team is using a CI/CD pipeline that automates deployments. As part of the process, a script runs
sf project deploy validateagainst a staging sandbox. If the validation succeeds, a subsequent job promotes the changes to production. The team wants to visualize the flow of work items and their promotion status through the pipeline stages (Dev -> INT -> UAT -> PROD). Which tool is specifically designed by Salesforce to provide this functionality natively?Show answer & explanation
Correct answer: D
DevOps Center is the Salesforce-native tool built specifically for this purpose. It provides a graphical pipeline interface where teams can see work items, track their progress through different stages, and promote them with clicks, all while leveraging a source control system on the backend.
Ready for the real thing?
The full certified-development-lifecycle-and-deployment-architect simulator has every exam-style question, timed mode, and instant scoring.