Universal Containers (UC) implemented Sales Cloud and requested that only certain branch staff trained to sell high risk products can create opportunities for high risk products. In which two ways can an Architect allow only specific branch staff to sell high risk products? Choose 2 answers
A. Set Price Book Organization Wide Default to View Only and share the price book (High Risk) with the trained staff.Which two are potential security vulnerabilities in the following code snippet?
Public class SOQLController {
Public String name{
Get {return name;}
Set {name=value;}
}
Public PageReference query() {
String qryString= 'SELECT Id FROM Contact WHERE' +
'(IsDeleted = false and Name like \'#' + name + '#\')';
queryResult = Database.query{qryString};
return null;
}
}
Choose 2 answers.
A. Cross-Site ScriptingUniversal Containers has a private sharing model on Accounts. Apex Managed Sharing is required to share certain account records with all users who are assigned to a specific Role in the Role Hierarchy. What should be the recommended way for the Architect to implement this?
A. Create an AccountShare record associated to a public group containing the Users in the Role.Universal Containers (UC) has a requirement to expose a web service to their business partners. The web service will be used to allow each business partner to query UC's Salesforce instance to retrieve the status of orders. The business partner should only be allowed access to orders for which the business partner is the fulfillment vendor. The Architect does not want the business partners to utilize the standard APIs and would prefer a custom API be developed. Which three design elements should the Architect consider in order to ensure the data security of the solution?
Choose 3 answers
A. Query the Orders object with Dynamic SOQL based upon the fulfillment ID.Universal Containers (UC) has implemented Service Cloud. There is a flag field on the case object that marks a case as (Sensitive). UC requested that this flag can be viewed by all users who have access to the case but only be edited by the assigned case assessor. The case assessor is a lookup field on the case object. How can an architect achieve this requirement?
A. Permission Set.Ursa Major Solar is writing test methods.
Which functionality does the system method "runAs()" verify?
A. Enforcement of a user's field-level securityUniversal Containers created a custom object called Defect and would like to enable the Sharing button on the Defect page layout to share the records manually to other users in the organization. In which scenario will the Sharing button appear?
A. The Sharing model is either Private or Public Read only.Universal Containers has a strict security model enforced through object, field, and row-based security mechanisms. The Architect would like to ensure the security model is being thoroughly tested using Apex automated tests. Which three considerations should be made when using the runAs() method to design Apex until tests?
A. runAs() does not enforce user permissions or field-level permissions in test classesBy default, how many roles are created when the first external user is created on a partner account?
B. 3Which two options provide implicit record access to users? Choose 2 answers
A. Read-only access to parent account for a user, based on a criteria-based sharing rule.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your SHARING-AND-VISIBILITY-DESIGNER exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.