0% found this document useful (0 votes)
29 views1 page

Cloud Computing and Salesforce

The document outlines various lab problem statements for implementing algorithms and applications related to cloud computing, specifically focusing on AWS services and Salesforce development. It includes topics such as depth-first search, breadth-first search, A* algorithm, and creating applications using Apex programming language. Additionally, it provides a comprehensive overview of cloud computing theory, service models, AWS concepts, and potential viva questions to prepare for exams.

Uploaded by

Sarthak Deokar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views1 page

Cloud Computing and Salesforce

The document outlines various lab problem statements for implementing algorithms and applications related to cloud computing, specifically focusing on AWS services and Salesforce development. It includes topics such as depth-first search, breadth-first search, A* algorithm, and creating applications using Apex programming language. Additionally, it provides a comprehensive overview of cloud computing theory, service models, AWS concepts, and potential viva questions to prepare for exams.

Uploaded by

Sarthak Deokar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Cloud Computing and Salesforce

LP-II Problem Statements

1. Implement depth first Search algorithm, Use an undirected graph and


develop a recursive algorithm for searching all the vertices of a graph or tree
data structure.

2. Implement Breadth first Search algorithm, Use an undirected graph and


develop a recursive algorithm for searching all the vertices of a graph or tree
data structure.

3.Implement A star Algorithm for any game search problem.

4.Implement Greedy search algorithm for any of the following application:


Selection Sort.

5. Implement Greedy search algorithm for any of the following application:


Prim’s Minimal Spanning Tree Algorithm.

6. Implement Greedy search algorithm for any of the following application:


Jobs Scheduling Problem

7. Implement a solution for a Constraint Satisfaction Problem using Branch and


Bound and Backtracking for n-queens problem

8.Implement a solution for a Constraint Satisfaction Problem for Graph Coloring .

9.Develop an elementary chatbot for any suitable customer interaction application .

10.Implement any one of the following Expert system


I. Information management II. Hospitals and medical
facilities III. Help desks management IV. Employee
performance evaluation V. Stock market trading VI.
Airline scheduling and cargo schedules.

11.Create the Instance of Amazon EC2 web Service using AWS Educate.

12.Creating an application in salesForce.com using Apex Programming Language


Perform Addition of Two numbers.

13.Creating an application in salesForce.com using Apex Programming Language


Perform substration of Two numbers.

14.Creating an application in salesForce.com using Apex Programming Language


.Perform Multiplication of Two numbers.

15.Creating an application in salesForce.com using Apex Programming Language


.Perform Division of Two numbers.

16.Creating an application in salesForce.com using Apex Programming Language .


Perform (add, Sub, multi, Div) of Two numbers.

17. Creating an application in salesForce.com using Apex Programming Language


Display Multiple of 5 (table of 5).

18. Creating an application in salesForce.com using Apex Programming Language


Display Multiple of 10 (table of 10).

19.Creating an application in salesForce.com using Apex Programming Language


.Print message “Welcome to Apex Programming Language of sale force Platform”.

20.Design and develop custom Application using Sales force Cloud (Lightning
Platform).

21.Perform the steps for the Amazon service- S3- simple storage Service using
AWS Educate.

22.Perform the steps for the Amazon Service RDB-Relational database using
AWS Educate.

23.Implement depth first Search algorithm, Use an undirected graph and develop a
recursive algorithm for searching all the vertices of a graph or tree data structure.

24. Implement Breadth first Search algorithm, Use an undirected graph and
develop a recursive algorithm for searching all the vertices of a graph or tree data
structure.

25.Implement A star Algorithm for any game search problem.

26.Implement Greedy search algorithm for any of the following application: I.


Selection Sort.

27.Implement Greedy search algorithm for any of the following application:


Prim’s Minimal Spanning Tree Algorithm.

28. Implement Greedy search algorithm for any of the following application:
Jobs Scheduling Problem

29. Implement a solution for a Constraint Satisfaction Problem using Branch and
Bound and Backtracking for n-queens problem
30.Implement a solution for a Constraint Satisfaction Problem for Graph
Coloring .

31.Develop an elementary chatbot for any suitable customer interaction application

32.Implement any one of the following Expert system


I. Information management II. Hospitals and medical
facilities III. Help desks management IV. Employee
performance evaluation V. Stock market trading VI.
Airline scheduling and cargo schedules.

give me colud computing theory which i need for my lab questions that examiner can ask

Here's the essential Cloud Computing theory you should prepare for your LP-II lab exam, especially
focused on questions related to AWS (EC2, S3, RDS) and Salesforce (Apex & Lightning Platform). I’ve also
included possible viva questions with brief answers to help you get exam-ready.

🔷 1. Basics of Cloud Computing


What is Cloud Computing?

Cloud computing is the delivery of computing services—including servers, storage, databases,


networking, software, and analytics—over the internet ("the cloud") to offer faster innovation, flexible
resources, and economies of scale.

Key Characteristics:

On-demand self-service
Broad network access
Resource pooling
Rapid elasticity
Measured service

🔷 2. Cloud Service Models


Model Description Examples
IaaS (Infrastructure as a Provides virtualized computing resources over AWS EC2, Google Compute
Service) the internet Engine
Provides a platform for developers to build Heroku, Google App Engine,
PaaS (Platform as a Service)
apps Salesforce
Delivers software applications over the Gmail, Dropbox, Salesforce
SaaS (Software as a Service)
internet CRM

🔷 3. Deployment Models
Public Cloud – Services offered over the internet to the general public (e.g., AWS, Azure).
Private Cloud – Exclusive for a single organization.
Hybrid Cloud – Combination of public and private.

🔷 4. Amazon Web Services (AWS) Concepts


a. EC2 (Elastic Compute Cloud)

Virtual server to run applications.


You can choose OS, CPU, memory, storage, and launch.
Key terms: AMI (Amazon Machine Image), Key Pair, Instance Type

Viva Question:
Q. What is an EC2 instance?
A. It is a virtual machine in AWS used to run applications.

b. S3 (Simple Storage Service)

Object storage for files, images, videos.


Used for backups, static website hosting.

Viva Question:
Q. What is a bucket in S3?
A. It's a container to store objects (files).

c. RDS (Relational Database Service)

Managed database service (MySQL, PostgreSQL, etc.)


Automatically handles backups, patching, scaling.

Viva Question:
Q. Why use RDS instead of EC2 for databases?
A. RDS is fully managed, easier to maintain, and scales automatically.

🔷 5. Salesforce & Apex Programming


Salesforce is a cloud-based CRM and app development platform.

a. Apex Language

Object-oriented programming language.


Strongly typed and used for backend logic in Salesforce.

Common Viva Questions:

Q. What is Apex?
A. Apex is a proprietary programming language by Salesforce used to develop business logic.
Q. What is a trigger in Salesforce?
A. A trigger is Apex code that executes before or after specific data manipulation language (DML)
events.

b. Lightning Platform

Salesforce’s UI platform for app development.


Components-based, responsive, and mobile-friendly.

🔷 6. Benefits of Cloud Computing


Scalability
Cost-efficiency
Accessibility
Reliability
Security (AWS has Identity and Access Management (IAM))

🔷 7. Security in Cloud
Authentication and access control
Encryption at rest and in transit
Backup and recovery systems
Role-based access (IAM in AWS, Profiles in Salesforce)

🔷 Viva Questions Summary


Question Expected Answer
What is cloud computing? Delivery of IT resources over the internet.
Name 3 cloud service models. IaaS, PaaS, SaaS
What is EC2? Virtual machine on AWS
What is S3 used for? File/object storage
What is RDS? Managed relational database service
What is Apex? A backend language in Salesforce
What is the use of Lightning
UI and app development in Salesforce
Platform?
What is a bucket in AWS S3? A storage container for objects/files
Identity and Access Management – used to manage users and
What is IAM in AWS?
permissions.

Would you like notes in PDF format or a presentation for quick lab revision?

yes

python

from fpdf import FPDF

# Create a PDF with Cloud Computing theory and viva questions


pdf = FPDF()
pdf.set_auto_page_break(auto=True, margin=15)
pdf.add_page()
pdf.set_font("Arial", 'B', 16)
pdf.cell(0, 10, "Cloud Computing Theory & Viva Questions", ln=True, align='C')
pdf.ln(10)

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "1. Basics of Cloud Computing", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, "Cloud computing is the delivery of computing services—including servers, sto

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n2. Cloud Service Models", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, "IaaS: Infrastructure as a Service (e.g., AWS EC2)\nPaaS: Platform as a Servic

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n3. Deployment Models", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, "Public Cloud, Private Cloud, Hybrid Cloud")

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n4. Amazon Web Services (AWS)", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, "EC2: Virtual server for running applications.\nS3: Object storage for backups

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n5. Salesforce & Apex", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, "Salesforce is a cloud-based CRM. Apex is a strongly typed OOP language used t

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n6. Benefits of Cloud Computing", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, "Scalability, Cost-efficiency, Accessibility, Reliability, Security")

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n7. Security in Cloud", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, "Authentication, Encryption, Backup, IAM roles")

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n8. Important Viva Questions", ln=True)
pdf.set_font("Arial", '', 12)
viva_qas = [
("What is cloud computing?", "Delivery of IT resources over the internet."),
("Name 3 cloud service models.", "IaaS, PaaS, SaaS"),
("What is EC2?", "Virtual machine on AWS"),
("What is S3 used for?", "File/object storage"),
("What is RDS?", "Managed relational database service"),
("What is Apex?", "A backend language in Salesforce"),
("What is Lightning Platform?", "UI and app development in Salesforce"),
("What is a bucket in S3?", "A container for storing objects/files"),
("What is IAM in AWS?", "Identity and Access Management"),
]
for q, a in viva_qas:
pdf.multi_cell(0, 10, f"Q: {q}\nA: {a}\n")

# Save the PDF


pdf_output_path = "/mnt/data/Cloud_Computing_Lab_Theory_Viva.pdf"
pdf.output(pdf_output_path)

---------------------------------------------------------------------------
UnicodeEncodeError Traceback (most recent call last)
Cell In[1], line 65
63 # Save the PDF
64 pdf_output_path = "/mnt/data/Cloud_Computing_Lab_Theory_Viva.pdf"
---> 65 pdf.output(pdf_output_path)

File ~/.local/lib/python3.11/site-packages/fpdf/fpdf.py:1065, in FPDF.output(self, name, dest)


1063 #Finish document if necessary
1064 if(self.state<3):
-> 1065 self.close()
1066 dest=dest.upper()
1067 if(dest==''):

File ~/.local/lib/python3.11/site-packages/fpdf/fpdf.py:246, in FPDF.close(self)


244 self._endpage()
245 #close document
--> 246 self._enddoc()

File ~/.local/lib/python3.11/site-packages/fpdf/fpdf.py:1636, in FPDF._enddoc(self)


1634 def _enddoc(self):
python
1635 self._putheader()
-> 1636 self._putpages()
# 1637 self._putresources()
Fix encoding issue by replacing special characters that can't be encoded in Latin-1
1638
def #Info
safe_text(text):
return text.replace("’", "'").replace("–", "-").replace("—", "-")
File ~/.local/lib/python3.11/site-packages/fpdf/fpdf.py:1170, in FPDF._putpages(self)
# 1167
Apply#Page contentto all content
safe_text
1168 if self.compress:
pdf = FPDF()
1169 # manage binary data as latin1 until PEP461 or similar is implemented
pdf.set_auto_page_break(auto=True,
-> 1170
margin=15)
p = self.pages[n].encode("latin1") if PY3K else self.pages[n]
pdf.add_page()
1171 p = zlib.compress(p)
pdf.set_font("Arial",
1172 else: 'B', 16)
pdf.cell(0, 10, "Cloud Computing Theory & Viva Questions", ln=True, align='C')
pdf.ln(10)
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2014' in position 274: ordinal not in range(256

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "1. Basics of Cloud Computing", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, safe_text("Cloud computing is the delivery of computing services—including se

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n2. Cloud Service Models", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, safe_text("IaaS: Infrastructure as a Service (e.g., AWS EC2)\nPaaS: Platform a

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n3. Deployment Models", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, safe_text("Public Cloud, Private Cloud, Hybrid Cloud"))

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n4. Amazon Web Services (AWS)", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, safe_text("EC2: Virtual server for running applications.\nS3: Object storage f

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n5. Salesforce & Apex", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, safe_text("Salesforce is a cloud-based CRM. Apex is a strongly typed OOP langu

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n6. Benefits of Cloud Computing", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, safe_text("Scalability, Cost-efficiency, Accessibility, Reliability, Security

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n7. Security in Cloud", ln=True)
pdf.set_font("Arial", '', 12)
pdf.multi_cell(0, 10, safe_text("Authentication, Encryption, Backup, IAM roles"))

pdf.set_font("Arial", 'B', 12)


pdf.cell(0, 10, "\n8. Important Viva Questions", ln=True)
pdf.set_font("Arial", '', 12)
viva_qas = [
("What is cloud computing?", "Delivery of IT resources over the internet."),
("Name 3 cloud service models.", "IaaS, PaaS, SaaS"),
("What is EC2?", "Virtual machine on AWS"),
("What is S3 used for?", "File/object storage"),
("What is RDS?", "Managed relational database service"),
("What is Apex?", "A backend language in Salesforce"),
("What is Lightning Platform?", "UI and app development in Salesforce"),
("What is a bucket in S3?", "A container for storing objects/files"),
("What is IAM in AWS?", "Identity and Access Management"),
]
for q, a in viva_qas:
pdf.multi_cell(0, 10, f"Q: {safe_text(q)}\nA: {safe_text(a)}\n")

# Save the corrected PDF


pdf_output_path = "/mnt/data/Cloud_Computing_Lab_Theory_Viva.pdf"
pdf.output(pdf_output_path)

Result
''

Your Cloud Computing Lab Theory and Viva Questions PDF is ready. You can download it from the link
below:

👉
Would you like similar notes for other subjects too?

AMI (Amazon Machine Image), Key Pair, Instance Type


explain

Sure! Let's break down each term related to AWS EC2 in simple, exam-friendly language:

1. AMI (Amazon Machine Image)

An AMI is like a template used to create virtual machines (EC2 instances).


It contains everything your server needs to start:

Operating system (like Linux or Windows)


Application server (like Apache, Nginx)
Any pre-installed software

🧠 Analogy: Think of an AMI like a blueprint for building a house. You can reuse it to build many
identical houses (EC2 instances).
📌 In Viva:
Q: What is an AMI?
A: It’s a pre-configured image used to launch EC2 instances with an OS and software.

2. Key Pair

A Key Pair is used to securely connect to your EC2 instance.


It has two parts:

Public Key: Stored on the EC2 instance


Private Key: Downloaded and kept by you (.pem file)

🧠 Analogy: Think of the public key as the lock on your EC2, and the private key as your personal key to
open it.
📌 In Viva:
Q: Why do we need a Key Pair in AWS EC2?
A: To securely SSH into the instance. It ensures only the authorized user can access it.

3. Instance Type

The Instance Type defines the hardware of your EC2 machine:

CPU
RAM
Storage
Network performance

Examples:

t2.micro – free-tier, low power (1 CPU, 1 GB RAM)


m5.large – medium performance
c5.xlarge – compute optimized

🧠 Analogy: Choosing an instance type is like choosing a car based on engine, speed, and comfort.
📌 In Viva:
Q: What is an instance type in EC2?
A: It specifies the hardware configuration (CPU, RAM, etc.) of the virtual server.

Would you like a diagram or visual chart to understand these better?

Printed using ChatGPT to PDF, powered by PDFCrowd HTML to PDF API. 1/1

You might also like