Practice Free Plat-Arch-201 Exam Online Questions
Universal Containers wants to automatically archive all inactive Account data that is older than 3 years. The information does not need to remain accessible within the application.
Which two methods should be recommended to meet this requirement? Choose 2 answers
- A . Use the Force.com Workbench to export the data.
- B . Schedule a weekly export file from the Salesforce UI.
- C . Schedule jobs to export and delete using an ETL tool.
- D . Schedule jobs to export and delete using the Data Loader.
C, D
Explanation:
Both C and D are valid methods to automatically archive and delete inactive Account data that is older than 3 years1. You can use an ETL tool or the Data Loader to schedule jobs to export and delete data based on certain criteria3.
Option A is not recommended because the Force.com Workbench is a web-based tool that does not support scheduling or automation.
Option B is not suitable because the weekly export file from the Salesforce UI does not delete data from Salesforce.
Cloud Kicks currently has a Public Read/Write sharing model for the company’s Contacts. Cloud Kicks management team requests that only the owner of a contact record be allowed to delete that contact.
What should an Architect do to meet these requirements?
- A . Set the profile of the users to remove delete permission from the Contact object.
- B . Check if the current user is NOT the owner by creating a "before delete" trigger.
- C . Set the Sharing settings as Public Read Only for the Contact object.
- D . Check if the current user is NOT the owner by creating a validation rule on the Contact object.
B
Explanation:
Checking if the current user is NOT the owner by creating a “before delete” trigger can meet the requirement of allowing only the owner of a contact record to delete that contact. A trigger is a piece of Apex code that can execute before or after a record is inserted, updated, deleted, or undeleted. A “before delete” trigger can prevent the deletion of a record by using the addError() method.
Cloud Kicks currently has a Public Read/Write sharing model for the company’s Contacts. Cloud Kicks management team requests that only the owner of a contact record be allowed to delete that contact.
What should an Architect do to meet these requirements?
- A . Set the profile of the users to remove delete permission from the Contact object.
- B . Check if the current user is NOT the owner by creating a "before delete" trigger.
- C . Set the Sharing settings as Public Read Only for the Contact object.
- D . Check if the current user is NOT the owner by creating a validation rule on the Contact object.
B
Explanation:
Checking if the current user is NOT the owner by creating a “before delete” trigger can meet the requirement of allowing only the owner of a contact record to delete that contact. A trigger is a piece of Apex code that can execute before or after a record is inserted, updated, deleted, or undeleted. A “before delete” trigger can prevent the deletion of a record by using the addError() method.
Universal Containers (UC) has implemented Sales Cloud and it has been noticed that Sales reps are not entering enough data to run insightful reports and dashboards. UC executives would like to monitor and measure data quality metrics.
What solution addresses this requirement?
- A . Use third-party AppExchange tools to monitor and measure data quality.
- B . Generate reports to view the quality of sample data.
- C . Use custom objects and fields to calculate data quality.
- D . Export the data to an enterprise data warehouse and use BI tools for data quality.
A
Explanation:
Using third-party AppExchange tools to monitor and measure data quality can address the requirement of UC executives by providing features such as data cleansing, deduplication, validation, enrichment, and scoring. These tools can help improve the accuracy, completeness, and consistency of the data entered by sales reps.
UC needs to load a large volume of leads into salesforce on a weekly basis. During this process the validation rules are disabled.
What should a data architect recommend to ensure data quality is maintained in salesforce.
- A . Activate validation rules once the leads are loaded into salesforce to maintain quality.
- B . Allow validation rules to be activated during the load of leads into salesforce.
- C . Develop custom APEX batch process to improve quality once the load is completed.
- D . Ensure the lead data is preprocessed for quality before loading into salesforce.
D
Explanation:
Ensuring the lead data is preprocessed for quality before loading into Salesforce is the best way to maintain data quality2. Activating validation rules after the load or developing a custom Apex batch process may not catch all the errors or may require additional time and resources. Allowing validation rules to be activated during the load may cause failures or delays.
UC needs to load a large volume of leads into salesforce on a weekly basis. During this process the validation rules are disabled.
What should a data architect recommend to ensure data quality is maintained in salesforce.
- A . Activate validation rules once the leads are loaded into salesforce to maintain quality.
- B . Allow validation rules to be activated during the load of leads into salesforce.
- C . Develop custom APEX batch process to improve quality once the load is completed.
- D . Ensure the lead data is preprocessed for quality before loading into salesforce.
D
Explanation:
Ensuring the lead data is preprocessed for quality before loading into Salesforce is the best way to maintain data quality2. Activating validation rules after the load or developing a custom Apex batch process may not catch all the errors or may require additional time and resources. Allowing validation rules to be activated during the load may cause failures or delays.
Universal Containers (UC) owns a complex Salesforce org with many Apex classes, triggers, and automated processes that will modify records if available. UC has identified that, in its current development state, UC runs change of encountering race condition on the same record.
What should a data architect recommend to guarantee that records are not being updated at the same time?
- A . Embed the keywords FOR UPDATE after SOQL statements.
- B . Disable classes or triggers that have the potential to obtain the same record.
- C . Migrate programmatic logic to processes and flows.
- D . Refactor or optimize classes and trigger for maximum CPU performance.
A
Explanation:
According to the How to avoid row lock or race condition in Apex blog post, one of the ways to prevent race condition in Apex is to use the FOR UPDATE keyword in SOQL statements. The blog post states that “We need to lock the records on which we are working such that other batches or threads will not be having any effect on them.
How can we lock a record, then? We need to make use of FOR UPDATE keyword in the SOQL query.” Therefore, a data architect should recommend this solution to guarantee that records are not being updated at the same time by different processes.
Universal Containers (UC) is implementing Salesforce and will be using Salesforce to track customer complaints, provide white papers on products, and provide subscription-based support.
Which license type will UC users need to fulfill UC’s requirements?
- A . Sales Cloud License
- B . Lightning Platform Starter License
- C . Service Cloud License
- D . Salesforce License
C
Explanation:
Service Cloud License (option C) is the license type that UC users need to fulfill UC’s requirements, as it allows them to track customer complaints, provide white papers on products, and provide subscription-based support. Sales Cloud License (option A) is mainly for managing sales processes and leads, Lightning Platform Starter License (option B) is for building custom apps and workflows, and Salesforce License (option D) is a generic term that does not specify a particular license type.
Universal Containers (UC) loads bulk leads and campaigns from third-party lead aggregators on a weekly and monthly basis. The expected lead record volume is 500K records per week, and the expected campaign records volume is 10K campaigns per week. After the upload, Lead records are shared with various sales agents via sharing rules and added as Campaign members via Apex triggers on Lead creation. UC agents work on leads for 6 months, but want to keep the records in the system for at least 1 year for reference. Compliance requires them to be stored for a minimum of 3 years. After that, data can be deleted.
What statement is true with respect to a data archiving strategy for UC?
- A . UC can store long-term lead records in custom storage objects to avoid counting against storage limits.
- B . UC can leverage the Salesforce Data Backup and Recovery feature for data archival needs.
- C . UC can leverage recycle bin capability, which guarantees record storage for 15 days after deletion.
- D . UC can leverage a “tier”-based approach to classify the record storage need.
D
Explanation:
Leveraging a “tier”-based approach to classify the record storage need is a true statement with respect to a data archiving strategy for UC. This approach involves defining different tiers of data based on their usage, value, and retention policies, and then applying appropriate storage and archiving solutions for each tier.
Universal Containers (UC) loads bulk leads and campaigns from third-party lead aggregators on a weekly and monthly basis. The expected lead record volume is 500K records per week, and the expected campaign records volume is 10K campaigns per week. After the upload, Lead records are shared with various sales agents via sharing rules and added as Campaign members via Apex triggers on Lead creation. UC agents work on leads for 6 months, but want to keep the records in the system for at least 1 year for reference. Compliance requires them to be stored for a minimum of 3 years. After that, data can be deleted.
What statement is true with respect to a data archiving strategy for UC?
- A . UC can store long-term lead records in custom storage objects to avoid counting against storage limits.
- B . UC can leverage the Salesforce Data Backup and Recovery feature for data archival needs.
- C . UC can leverage recycle bin capability, which guarantees record storage for 15 days after deletion.
- D . UC can leverage a “tier”-based approach to classify the record storage need.
D
Explanation:
Leveraging a “tier”-based approach to classify the record storage need is a true statement with respect to a data archiving strategy for UC. This approach involves defining different tiers of data based on their usage, value, and retention policies, and then applying appropriate storage and archiving solutions for each tier.
