Interview Questions -3


1.What is the salesforce architecture?
Ans: Salesforce architecture is the multitenancy architecture.
Multitenancy refers to a standard in software architecture where a single instance of the software runs on a server, serving multiple client organizations (tenants).

2.How many types of controllers?
Ans: 3 Types Controllers are available in Salesforce.

3.What are the types of controllers?
Ans: 1.Standard Controller   2. Custom Controller  3.Controller Extension

4.Write apex class scenario?
Ans: public with sharing/without sharing  class classname
         {
       Declaring Variables, Get, Set Properties;
       Declaring Methods;
          }

5.Write trigger scenario?
Ans: Trigger Triggername on sObjectName(Events)
         {
       // Statements;
        }

6.How many ways we can import data into salesforce?
Ans: we can import the data into Salesforce using import wizard, Apex Data Loader.

7.What is the default modifier?
Ans: when you declare the variables which modifier come automatically that is default modifier. The default modifier is Private.

8.What are the services we are using?exaplain?
A: There are three types of Services that are provided by Cloud:
IAAS (Infrastucture as a Service): Accessing Infrastucture such as application server, storage server over the internet.
PAAS (Platform as a Service): It is the concept of accessing a platform on rental bases over the internet.  
         Note: Platform is the environment which is created to build or enhance existing application.
SAAS (Software as a Service): It is the concept of accessing a software application over the internet on the rental bases.

9.Why we are using batchapex?how to overcome the limitations in salesforce?
Ans: If you want to insert more than 50,000 records and to overcome the limitations in salesforce we are using Batch Apex. Suppose using Database.getQueryLocator we can return 10,000 record ifwe are using this in batch apex we can return 5 million records. 

10.What about scheduleapex?
Ans: using schedule apex we can schedule the apex class.

11.How to download the file from salesforce?
Ans: we download the file from salesforce using URL.

12.What is web-to-lead?
Ans: Web-to-lead captures profile and contact information from users in website.

13.What is the difference between action and action support?
Ans: Using action we can call an apex method in apex class.
        Using action support we can give the support to another component using this component we can call an apex method.

14.How many ways we can create required fields?
Ans:  1. Validation Rules   2.Page Layouts    3. Field Level Security    4. Triggers

Comments

Popular posts from this blog

Page Layouts

SOQL Scenario-1