Question: 1
Universal Containers (UC) stores basic employee information in a custom Employee object (OWD –Public Read Only). There are a few sensitive fields that need restricted access (salary, grade level, last performance rating). Other than field level security, what other options are available to make these fields accessible to the Human Resource team?
A. Create a new custom object with private OWD and Lookup relationship to Employee to store new restricted information.
B. Change OWD of Employee custom object to private and a Lookup self-relationship to store only new restricted information.
C. Create a new custom object controlled by parent and a Master-Detail relationship to Employee to store new restricted information.
D. There are no other option besides using field level security.
Answer: A
Question: 2
Sales Operations at Universal Container (UC) wants to create the opens to fiber appropriates for center. In which two ways can UC hide list that are not relevant to an individual use since there will be Choose 2 answers.
A. Share the list views with the appropriate queue.
B. Share the list views with the appropriate individual users.
C. Share the list views with the appropriate public group.
D. Share the list views with the appropriate role in the role hierarchy
Answer: C, D
Question: 3
Universal Containers keeps product brochures in Salesforce as files. Sarah shares a public Unit to aproduct brochure with potential customers during a meeting. She wants to ensure they do not haveaccess to the file after the meeting.How should Sarah accomplish this?
A. Rename the file.
B. Delete the public link.
C. Delete the file.
D. Move the file to another folder
Answer: B
Question: 4
Universal Container has developed a custom Visualforce page that will accept user input and mustprefer returning the results to the users.Which two techniques should be used to ensure the users cannot perform a SOQL injection attack?
A. Escape double quotes in the user input.
B. Use bind variable in the SOQL query.
C. Use the escapesinglequotes() method to sanitize user input.
D. Use the with Sharing keyword on the controller.
Answer: B, C
Question: 5
What should a Salesforce architect recommend to make sure that users that gained access to a customof sharing do not lose access to it when its owner is changed?
A. Create a specific Sharing Reason for the custom object.
B. Use ''runAS'' system method in Apex classes to enforce record visibility.
C. Create a new record in_Share object with RowCause ''Manual''
D. Use ''With Sharing'' keyword to make sure record visibility will be considered
Answer: A
No comments:
Post a Comment