Question 51

The IT Manager of Cosmic Innovation requires the creation of a Visualforce page for the Account detail page that allows users to view various fields from records of related standard and custom objects. Which solution can be used by a developer to ensure that the page only displays certain fields if a specific field on the Account object can be viewed by the current user?Choose 1 answer.
  • Question 52

    Universal 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?
  • Question 53

    A Visualforce controller has a requirement to be written with "Without Sharing" at the top level; however, certain methods within the page still need to enforce the user permissions for creating records and accessing certain fields. Which two methods below would be used to enforce this requirements?
    Choose 2 answers.
  • Question 54

    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?
  • Question 55

    Get Cloudy Consulting uses a strict security model. They enforce this model through object, field, and row- based security mechanisms. The Chief Technology Officer (CTO) at Get Cloudy Consulting wants to thoroughly test the security model, and an Architect decides to use Apex automated tests to fulfill the CTO's request.
    What are three considerations for the Architect when using the runAs() method to design Apex unit tests?
    (Choose three.)