Friday, 6 September 2024

interview ques

 Gartner interview questions:

1- Write a Lwc component to fetch Account and it's related contact and opportunities and display on UI.
2- If we can use setup objects in screen flow?
3- Can we call future method from flow?
4- Can we use PS to control Page layout assignment?
5- explain muting PS
6- How can we use owner based Sharing setting?
7- Why are sobject allowed in queable but not future?
8- if out of box api's work for custom objects?
9- there is a cmp on record page, we want to display this cmp to only 5 user in my org from differ profiles. In future this number may rise to 10,15. What solution will you implement
10- parent to child, child to parent communication
11- when is wire method called in life cycle?
12- Write a soql query to fetch opportunity with max amount
13- while using wire method in lwc cmp, how does system comes to know that data has changed in backend?
14- all configuration required for performing integrations inbound and outbound?
15- In a lwc component I need to display records from a custom object. The record to be displayed in table and records are more that 50k. How can we display all records without using pagination?
16- Write a trigger to update user object information same as contact whenever there is a change or insert on contact information.
17- if we get mixed dml operation in flow transaction?
18- how can a manager's in a certain role hierarchy share records with his subordinates.
19- In an apex class denoted with with sharing, contains a soql on account object having a custom field abc__c. A user who is not having access to this field tries to run this code. What error would he get??
20- how can we control field level security in apex code?
21- I have class B and I want class B method sharing security needs to be defined during runtime ,means if class b is called from class A with sharing then it should run with with sharing or else from without sharing class then it should run as without sharing

No comments:

Post a Comment

Heap Size and Apex CPU Time Limit

  Heap Size - 1) Memory size for holding object , variables and records 2) CPU Time limit -  1) time consuming during whole transaction   ...