Search Tutorials

Top Pivotal Cloud Foundry (PCF) Interview Questions | JavaInUse

Pivotal Cloud Foundry(PCF) Interview Questions.

In this post we will look at Pivotal Cloud Foundry (PCF) questions. Examples are provided with explanation.

Q: What is Pivotal Cloud Foundry?
Cloud Foundry is an open source cloud computing platform originally developed in-house at VMware. It is a platform (PaaS) for cloud native application, it helps developer to just focus on code rather worrying about platform they use and their configurations.

Q: What are the advantages of Pivotal Cloud Foundry(PCF)?
The advantages of using Pivotal Cloud Foundry(PCF) are as follows-
  • Fast application development and deployment.
  • Highly scalable and available architecture.
  • DevOps-friendly workflows.
  • Reduced chance of human error.
  • Multi-tenant compute efficiencies.

Q: What is Cloud Foundry BuildPack?
Buildpacks provide framework and runtime support for apps. Buildpacks typically examine your apps to determine what dependencies to download and how to configure the apps to communicate with bound services. When you push an app, Cloud Foundry automatically detects an appropriate buildpack for it. This buildpack is used to compile or prepare your app for launch.

Q: What is CLI? How to use it?
The Cloud Foundry (cf) command line interface (CLI) provides a set of commands for managing your apps. We will need to download and install this interface for our windows machine.
  • Download the CF Windows installer. It will prompt for the download. Save the zip file distribution.
  • After successfully unzip operation, double click on the CF CLI executable. Install this executable-
    CF CLI executable
  • To list all of the cf commands and associated help information, use cf help. Use cf command_name -h to view detailed help information for a particular command.
    CF CLI help

Q: How to deploy Spring Boot Application to PCF?
Deploying Spring Boot Application to PCF

Q: How to deploy Spring Boot + MySQL Application to PCF?
Pivotal Cloud Foundry Tutorial - Deploying Spring Boot + MySQL Application to PCF

Q: How to deploy Spring Boot + RabbitMQ Application to PCF?
Pivotal Cloud Foundry Tutorial - Deploying Spring Boot + RabbitMQ Application to PCF

Q: What are various Roles and associated permissions in PCF?
Role Permissions
Admin An admin user has permissions on all orgs and spaces
Admin Read-Only This role has read-only access to all Cloud Controller API resources.
Global Auditor This role has read-only access to all Cloud Controller API resources except for secrets such as environment variables.
Org Managers managers or other users who need to administer the org
Org Auditors view but cannot edit user information and org quota usage information
Org Billing Managers create and manage billing account and payment information
Org Users Can view the list of other org users and their roles. When an Org Manager gives a person an Org or Space role, that person automatically receives Org User status in that Org
Space Managers Managers or other users who administer a space within an org
Space Developers Application developers or other users who manage applications and services in a space
Space Auditors View but cannot edit the space

Q: What is difference between IaaS vs PaaS?
PaaS, or solution stack, offers a more comprehensive approach to the cost effective application deployment need of today's developers. This service provides the necessary hardware architecture and software framework needed to put an application into service, without having to own, manage and upkeep all the required resources.
IaaS, in comparison to the PaaS, provides equipment for operations, networking, data storage and hardware with the use of the internet, so that the subscriber is no longer confronted with location and purchase costs.
  • On-premises IT infrastructure is like owning a car. We have to take full responsibility for its upkeep. If needs to use latest car we will need to but new one then.
  • IaaS is like renting a car. When you rent a car, we choose which ever car we want and then drive to our destination ourselves. If we need latest car we then rent another car
  • PaaS is like taking a taxi. We dont need to drive it. We just tell the driver the destination and he drives us around while we relax

See Also

Top Java Data Structures and Algorithm Interview Questions
Spring Boot Interview Questions Apache Camel Interview Questions Drools Interview Questions Enterprise Service Bus- ESB Interview Questions. JBoss Fuse Interview Questions Top ElasticSearch frequently asked interview questions Angular 2 Interview Questions