Question 131
Cosmic Repair Solutions has several repair centers in the country, and uses a custom object called 'Inventory' to track parts used by technicians for repair jobs. The company uses a private sharing model for the records of this object. A custom profile has been assigned to the technicians who frequently access Salesforce. Currently, a technician is only able to access an 'Inventory' record if they have access to the parent 'Repair Job' record.
But since technicians are often required to collaborate with one another, they need to be given access to view all the 'Inventory' records in Salesforce. What should be done to meet the requirement?Choose 1 answer.
But since technicians are often required to collaborate with one another, they need to be given access to view all the 'Inventory' records in Salesforce. What should be done to meet the requirement?Choose 1 answer.
Question 132
A developer of Cosmic Service Solutions has created the following custom controller for a Visualforce page.
What keyword can be added to the definition of the class to ensure that all contact records are not exposed to a user who views the Visualforce page?Choose 1 answer. public class customContactController { public void view() { Contact con = [SELECT Id FROM Contact LIMIT 1]; } }
What keyword can be added to the definition of the class to ensure that all contact records are not exposed to a user who views the Visualforce page?Choose 1 answer. public class customContactController { public void view() { Contact con = [SELECT Id FROM Contact LIMIT 1]; } }
Question 133
Universal Container has developed a custom Visualforce page that will accept user input and must prefer returning the results to the users.
Which two techniques should be used to ensure the users cannot perform a SOQL injection attack?
Which two techniques should be used to ensure the users cannot perform a SOQL injection attack?
Question 134
Universal Containers (UC) provides shipment tracking for its customers on a custom Shipment object. The total number of shipments made yearly by the customers should be available on the Account record to the Marketing team, but the Marketing team should not have access to Shipment records.
What recommendation should an Architect provide to accomplish this?
What recommendation should an Architect provide to accomplish this?
Question 135
Cloud Kicks wants to set up a new integration with its ERP system. Cloud Kicks' objective is to synchronize contacts in the ERP shipping tables with those in their CRM so that sales reps can view up-to-date contact information. Cloud Kicks has the following environment:
- The integration runs under a dedicated Integration User who is at the top of the role hierarchy.
- The Organization-Wide Default sharing setting for Accounts is Private and Contacts is Controlled by Parent.
- 100,000 contacts have account data in the ERP system, but do not have corresponding Accounts in Salesforce.
An Architect needs to design the solution so that the sales team can see the contacts and so that there are no performance issues.
What should the Architect do?
- The integration runs under a dedicated Integration User who is at the top of the role hierarchy.
- The Organization-Wide Default sharing setting for Accounts is Private and Contacts is Controlled by Parent.
- 100,000 contacts have account data in the ERP system, but do not have corresponding Accounts in Salesforce.
An Architect needs to design the solution so that the sales team can see the contacts and so that there are no performance issues.
What should the Architect do?
