Q1. What is the security vulnerability in the following code snippet? Value of my Textfield is
A.SOQL Injection
B. Arbitrary Redirects
C. Cross-Site Scripting
D. Access Control
Answer: C
Q2. Universal Containers has the following requirements: A custom Loan object requires Org- Wide Defaults set to Private. The owner of the Loan record will be the Loan Origination Officer. The Loan record must be shared with a specific Underwriter on a loan-by-loan basis. The Underwriters should only see the Loan records for which they are assigned. What should the Architect recommend to meet these requirements?
A.Use criteria-based sharing rules to share the Loan object with the Underwriter basedupon the criteria defined in the criteria-based sharing
B. Create a lookup relationship from the Loan object to the User object. Use a trigger onthe Loan object to create the corresponding record in the Loan share object
C. Create a master-detail relationship from the Loan to the User object. Loan records willbe automatically shared with the Underwriter
D. Create an Apex Sharing Reason on the Loan object that shares the Loan with theUnderwriter based upon the criteria defined in the Sharing Reason
Answer: B
Q3. Universal Containers would like to track defects within Salesforce. A defect needs to have the following fields: • Severity • Type • Status • Description There will be multiple Defects related to the standard Case object. Defects will be assigned to different owners which will often be different to the Case owner. Which option should the Architect choose to meet the requirement?
A.Create a relationship between the standard defect object and the standard case object.
B. Create a custom object for defects and relate it to cases using lookup
C. Create all defect fields on the case object to track the defect and lookup.
D. Create a custom object for defects and relate it to cases using master –detail
Answer: B
Q4. A user posts a file to the Chatter feed for a record of an object that has a Private organization-wide default. Which statement accurately describes who can view the file by default?
A.The user who posted the file and users with a shared chatter post link to the file
B. The user who posted the file and users with access to the record
C. Only the user who posted the file
Answer: B
Q5. Universal Containers (UC) has a mostly Private organization-wide default, as it Is a core principle of UC to respect client data privacy. UC has implemented complex processes for granting access to Opportunity data. A few key members of the sales reporting team need to always be able to see, but not change, Opportunity data for all opportunities. What should an architect recommend as an approach to meet these requirements?
A.Create a permission set that grants the View All permission for Opportunity.
B. Create & permission set that grants the View All Data permission.
C. Give the View All Data permission to the Sales Reporting profile.
Answer: A
$ 39
Reviews
There are no reviews yet.