
Verified Sharing-and-Visibility-Architect dumps Q&As - Pass Guarantee or Full Refund [Nov-2023]
Sharing-and-Visibility-Architect PDF Dumps | Nov 26, 2023 Recently Updated Questions
NEW QUESTION # 71
Universal Containers (UC) is a fast-growing company that sells containers globally. It has thousands of dealerships throughout the world where local dealers service containers. UCimplemented a new Partner Community for its dealers. Each dealership has a dealer manager who manages the service agents. The community-sharing model is private.
What is the optimal option to give dealer managers visibility to customer cases only raised by their service agents?
- A. Create a sharing set to share cases created by service agents with their dealer manager.
- B. Using the role hierarchy, the cases raised by service agents will be visible to their relevant dealer managers.
- C. Create a sharing rule to share cases created by service agents with their dealer manager.
- D. Change external organization-wide default of case object to public read only.
Answer: B
NEW QUESTION # 72
Universal Containers (UC) is implementing Sales Cloud. During the final quarter of the financial year, sales managers help each other close deals. They requested a solution in Salesforce to allow them to share opportunities with other sales managers from different teams as needed. They also requested that sharing deals should expire automatically two weeks after the new fiscal year starts.
Which two options to propose a solution to meet the requirements? Choose 2 answers
- A. Apex Sharing to share opportunities with sales managers.
- B. Opportunity team to share opportunities with sales managers.
- C. Sharing Rules to share opportunities with sales managers.
- D. Scheduled Apex job to remove access.
Answer: B,D
Explanation:
Explanation
The two options to propose a solution to meet the requirements are Scheduled Apex job to remove access and Opportunity team to share opportunities with sales managers. Scheduled Apex job allows developers to run Apex code at a specified time, which can be used to revoke the sharing access after two weeks. Opportunity team allows users to grant access to other users who work on the same opportunity1. Apex Sharing and Sharing Rules are not suitable options because they do not support automatic expiration of sharing.
NEW QUESTION # 73
Universal Container is creating a custom VF page to allow user to edit contact records. The developer has used an apex:outputField for the Phone field on the contact obj. What is the expected behavior if a user without FLS accesses the VF page?
- A. The output field is visible to user
- B. The user encounters an error while saving the record
- C. The user is able to enter a value into the phone field
- D. The field is automatically removed from the page
Answer: D
NEW QUESTION # 74
Universal Containers (UC) has a custom Apex class that enforces a business process and updates opportunity field-level security permissions of read only certain user's profiles are being updated by their class.
How should the architect fix this problem?
- A. Add with Sharing keyword to the class.
- B. Use the with SECURYT_ENFORCED keyword in the SOQL statement.
- C. Put the code in an class that uses the With Sharing keyword.
- D. Use the IsUpdateable() Apex method to test each field prior to allowing updates.
Answer: D
NEW QUESTION # 75
Universal Containers (UC) has a mostly private organization-wide default (OWD), as it is a core principle of UC to respect client data privacy. UC has implemented complex processes for granting access to Opportunity dat a. 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 "View All Data" Permission.
- B. Create a Permission Set that grants "View All" permission for Opportunity.
- C. Make Opportunity OWD read-only.
- D. Give "View All Data" Permission to the Sales Reporting Profile.
Answer: B
NEW QUESTION # 76
What is the security vulnerability in the following code snippet? <apex:form>
<apex:commandButtonrerender="outputIt" value="Update It"/> <apex:inputText value="{!myTextField}"/>
<apex:form> <apex:outputPanel id="outputIt"> Value of my Textfield is <apex:outputText Value="{!myTextField}" escape="false"/> <apex:outputPanel>
- A. Arbitrary Redirects
- B. Access Control
- C. Cross-Site Scripting
- D. SOQL Injection
Answer: C
Explanation:
Explanation
According to this source, cross-site scripting (XSS) is a security vulnerability that occurs when malicious code is injected into a web page that can execute in the browser of a user who views the page. In this case, the code snippet does not escape the output text value, which means that if the input text contains any HTML or JavaScript code, it will be rendered as such in the output panel. This could allow an attacker to execute malicious scripts on behalf of the user. The other options are not relevant to this code snippet.
NEW QUESTION # 77
Sales manager at universal containers (UC) have requested viewing customer invoices in Salesforce. Invoice data is mastered in the ERP system. The architect at UC decided to surface the customer invoices in salesforce using external objects and did the following:
-Configured an external object called Invoice.
-Created a lookup relationship between account and the invoice.
How can the architect grant the sales managers access to the customer invoices data?
- A. By creating manual sharing to share invoices with relevant sales managers.
- B. By creating sharing rules to share the invoices records with users in sales mangers roles.
- C. By creating controlling the invoices object permission on the sales manager's profile.
- D. By creating a sharing set to share invoices with users in sales manager role.
Answer: C
Explanation:
Explanation
Controlling the invoices object permission on the sales manager's profile is how the architect can grant the sales managers access to the customer invoices data. Object permissions determine whether a user can create, read, edit, or delete any record of that object. Since invoice data is surfaced in Salesforce using external objects, sales managers need to have at least read permission on the invoice object to view the customer invoices data. Option A is incorrect, since sharing rules are not available for external objects. Option B is incorrect, since manual sharing is not available for external objects. Option D is incorrect, since sharing sets are not available for external objects.
NEW QUESTION # 78
Universal Containers has a Private Sharing Model for the Opportunity object. Sales Rep A at Universal Containers created the Opportunity record and then transferred ownership of the Opportunity record to Sales Rep B.
Both Sales Rep A and B have the same role in the Role Hierarchy.
What access will Sales Rep A have to the Opportunity after the transfer?
- A. Read/Write
- B. Full Access
- C. No Access
- D. Read Only
Answer: C
NEW QUESTION # 79
Universal Containers (UC) uses a custom lightning component with an Apex class to display shipment information (custom object, private OWD). UC sales managers are complaining about two important points:
* Shipment records that belong to their teams can be seen by other users.
* Shipment amount should be visible only by managers, but sales reps are able to view it.Which two features did the development team miss that is causing the problems?
Choose 2 answers.
- A. Use isAccessible() method in Apex classes to check field accessibility
- B. Use run as in test class to enforce user permissions and field-level permissions.
- C. Use is Sharable keyword in Apex classes to assure record visibility.
- D. Use with Sharing keyword in Apex classes to enforce sharing rules evaluation.
Answer: A
NEW QUESTION # 80
Universal Containers (UC) provides shipment tracking for its customers on a custom Shipment object. The ..
yearly by the customers should be available on the Account record to the Marketing team, but the Marketing Shipment records.
What recommend should an Architect provide to accomplish this?
- A. Controlled by Parent (Account) on Shipment, trigger, and trigger, and Master-Detail relationship to Account.
- B. Private organization-wide default on Shipment, trigger, and Lookup relationship to Account,
- C. Public organization-wide default on Shipment, process builder, and lookup relationship to Account.
- D. Private organization-Wide default on Shipment, rollup summary, and Master-Detail relationship to Account.
Answer: B
Explanation:
Explanation
Setting the organization-wide default on Shipment to Private, creating a trigger to update the Account record with the shipment information, and using a lookup relationship to Account are the best recommendations to accomplish this requirement. This way, the Marketing team can see the shipment information on the Account record, but not the Shipment records themselves. Option A is incorrect, since setting the organization-wide default on Shipment to Public would give access to all Shipment records to all users. Option B is incorrect, since using a master-detail relationship to Account would inherit the sharing settings from Account, which may not be Private. Option C is incorrect, since using a master-detail relationship to Account and setting the organization-wide default on Shipment to Controlled by Parent would have the same effect as option B.
NEW QUESTION # 81
Universal Container (UC) wants all full-time internal employees to be able to view all leads. A subset of employees should also be able to see leads.
Which organization default (OWD) approach should an architect recommend that will help US implement these requirement?
- A. Implement a Public Read/write OWD on Lead
- B. Implement a Public Read only OWD on Lead
- C. Implement a Private OWD on Lead.
- D. Implement a Public Read/write/Transfer OWD on Lead.
Answer: C
NEW QUESTION # 82
Universal Containers has set Opportunity Sharing to Private with Opportunity Teams enabled. Which three options can change the Owner of the Opportunity?
Choose 3 answers.
- A. The user specified as the Manager on the Owner's User Profile.
- B. Someone above the Opportunity Owner in the Role Hierarchy.
- C. The current Opportunity Owner can transfer the current ownership.
- D. Any Opportunity Team Member on the current Opportunity.
- E. The System Administrator or a user with the "Transfer Records" permission.
Answer: B,C,E
Explanation:
Explanation
The three options that can change the owner of the opportunity are B, C, and E. The current opportunity owner can transfer the ownership to another user by editing the record or using the change owner button. The system administrator or a user with the "Transfer Records" permission can also change the owner of any record, regardless of the sharing settings. Someone above the opportunity owner in the role hierarchy can also change the owner, as they have full access to the records owned by users below them in the hierarchy. The other options are either incorrect or not possible.
NEW QUESTION # 83
Universal Containers (UC) has a custom object to track the internal net promoter score (NPS) for all ..
How can UC ensure that NPS records cannot be accessed by an individual employee's manager?
- A. Create a criteria-based sharing rule to remove access to Manager role and above in the Role ..
- B. Remove Create, Read, Edit and Delete from Manager Profiles and Permission sets.
- C. Use Apex Sharing to remove NPS object share records for Manager profiles.
- D. Set organization wide default to Private and uncheck the Access Using Hierarchies option for the NPS object
Answer: D
Explanation:
Explanation
Setting the organization-wide default to Private and unchecking the Access Using Hierarchies option for the NPS object will prevent the managers from accessing the NPS records of their subordinates. This is because the access using hierarchies option allows users above the owner in the role hierarchy to have the same level of access as the owner
NEW QUESTION # 84
Universal Containers uses Person Accounts to represent retail customers and Business Accounts to represent commercial customers. The retail sales team should not have access to commercial customers but should have access to ALL retail customers.
With the organization-wide default on Account set to Private, how should the architect meet these requirements?
- A. Update the Retall Sales profile to grant access to Person Account record type.
- B. Create an owner-based sharing rule on AccountContactRelation to grant a@coess to all account contact roles records owned by retail sales reps.
- C. Create o criteria-based sharing rule giving the Retail Sales role access to Accounts of type PersonAccount.
Answer: C
Explanation:
Explanation
Creating a criteria-based sharing rule giving the Retail Sales role access to Accounts of type PersonAccount is the best option to meet these requirements, as it will grant access to all retail customers based on a field value, regardless of ownership2. Creating an owner-based sharing rule on AccountContactRelation will not work, as it will only grant access to account contact roles records owned by retail sales reps, not all retail customers.
Updating the Retail Sales profile to grant access to Person Account record type will not work, as it will only control the record type visibility, not the record visibility.
NEW QUESTION # 85
Which two capabilities does the delegated administrator permission provide?
Choose 2 answers
- A. Create profiles
- B. Assign users profiles
- C. Unlock users
- D. Set OWD
Answer: B,C
Explanation:
Explanation
Assigning users profiles and unlocking users are two capabilities that the delegated administrator permission provides. Delegated administrators are users who can perform certain administrative tasks on behalf of administrators. These tasks include assigning users to specified profiles or permission sets, creating and editing users in specified roles or groups, unlocking users who have exceeded their login attempts limit, resetting passwords for users in specified roles or groups, logging in as users who have granted login access to administrators. Option C is incorrect, since setting OWD is not a capability that delegated administrators have.
Option D is incorrect, since creating profiles is not a capability that delegated administrators have.
NEW QUESTION # 86
Universal Containers has two custom objects: Job and Job Interview. The Job Interview object has a lookup relationship to Job. Both objects are set to Private in sharing settings. The HR team will own all Job and Job Interview records. They have asked their Salesforce Architect to automatically share the Job Interview when the Interviewer (lookup to user record) has been populated. The interviewer can be from any department. What method should the Architect use to achieve this requirement?
- A. Build a standard sharing rule between Job Interview and the Interviewer
- B. Build a criteria-based sharing rule between the Job Interview and the Interviewer
- C. Build a workflow email notification to notify the interviewer of the record assignment
- D. Build apex Managed Sharing code to share Job Interview with the Interviewer user
Answer: D
Explanation:
Explanation
According to this source, Apex managed sharing is the best way to share records based on complex logic that can't be handled by declarative sharing. In this case, the architect can use Apex code to create a trigger on the Job Interview object that will create a share record for the interviewer user when the lookup field is populated.
The other options are not feasible or scalable.
NEW QUESTION # 87
If OWD is Public Read Only, what are sharing access options
- A. Read, - Read/Write
Answer: A
NEW QUESTION # 88
Mary is Joe's manager in the role hierarchy. The OWD for a custom Invoice object is Public ReadOnly and Mary's profile is not granted the Read permission for the Invoice object.
What action can Mary take on Joe's Invoice records?
- A. Read/Write
- B. View Only
- C. Edit Only
- D. None
Answer: D
Explanation:
Explanation
The action that Mary can take on Joe's Invoice records is none. This is because Mary's profile does not have the Read permission for the Invoice object, which means she cannot view any Invoice records, regardless of the OWD or role hierarchy settings. Profile permissions override any other access settings3. Read/Write, Edit Only, and View Only are not possible actions for Mary.
NEW QUESTION # 89
Universal Containers (UC) has implemented Customer Community with customer community plus license for its distributors. Retail distributors have part-time agents who work for multiple distributors. Those agents should have access to other distributor accounts as well.
What can be configured to grant agents access to different distributor accounts?
- A. Create sharing set to share distributor accounts with agents using account contact relationship.
- B. Use share group to share distributor accounts with agents who have account contact relationship.
- C. Use Apex sharing to share distributor accounts with agents using the Account__ Share table.
- D. Create sharing rules to share distributor accounts with agents.
Answer: C
Explanation:
Explanation
Apex sharing is a way to programmatically grant access to records for users or groups of users. Apex sharing can be used to share records with Customer Community Plus users, who are not supported by other declarative sharing options such as sharing sets or sharing rules. Apex sharing uses the Account__Share table to store the sharing information for the Account object. Therefore, the answer A is correct and the other options are incorrect
NEW QUESTION # 90
Universal Containers uses person accounts to represent retail customers and business accounts to represent commercial customers. The Retail Sales team should not have access to commercial customers but have access to ALL retail customers.
With organization-wide default on Account set to Private, how might the architect meet these requirements?
- A. Give View All access for Accounts to the Retail Sales profile.
- B. Create an owner-based sharing rule on AccountContactRelation to grant access to at account contact roles records owned by sales reps.
- C. Update Retail Sales profile to grant access to Person Account record type.
- D. Create a criteria-based sharing rule giving Retail Sales role access to Accounts of type PersonAccount.
Answer: D
NEW QUESTION # 91
A sales coach at Universal Containers wants to create and share @ report folder with other sales coaches, Which two permissions are required to accomplish this?
- A. Manage Reports in Public Folders and edit My Reports.
- B. Create and customize Reports and Report Folders.
- C. Create Report Folders and manage Reports in Public Folders.
Answer: B
NEW QUESTION # 92
Universal Containers would like to customize the security and sharing features of Salesforce Account Teams. They have decided to implement a Custom Account Team object. They would like the new enhancement to include all of the features of the existing account team, but also utilize Apex and Visualforce on the custom Account Team object.
Which two different approaches should the Architect consider when designing this enhancement?
Choose 2 answers
- A. The need to synchronize the AccountTeamMember object with the Custom Account Team object data.
- B. The need to dynamically create Criteria-Based Sharing rules with Custom Account Team object data.
- C. The need to customize Account screens in Visualforce, as the Account_share object cannot be maintained programmatically.
- D. The need to maintain the Account_share object based upon the Custom Account Team object data.
Answer: A,D
NEW QUESTION # 93
......
Sharing-and-Visibility-Architect Exam Questions – Valid Sharing-and-Visibility-Architect Dumps Pdf: https://pass4sure.test4cram.com/Sharing-and-Visibility-Architect_real-exam-dumps.html