All BTP Foundations interview questions in one place, grouped by page. Read the page when an answer needs more depth.
How to practise: cover the answer, say yours out loud in 30–60 seconds, then compare.
01 · Cloud Computing Basics
Q1. What is cloud computing, in one sentence?
On-demand delivery of computing resources (servers, storage, databases, software) as services over the internet, paid per use, without owning the hardware.
Q2. Explain IaaS, PaaS and SaaS with an SAP example each.
IaaS: rented infrastructure, you run OS and software (S/4HANA installed on Azure VMs). PaaS: a platform for your own code (SAP BTP). SaaS: a finished application (SuccessFactors, S/4HANA Cloud Public Edition).
Q3. Public vs private cloud?
Public: run by a provider and shared by many customers with separated data – cheap and elastic. Private: dedicated to one organisation – more control and isolation, higher cost.
Q4. What is the difference between hybrid cloud and multi-cloud?
Hybrid mixes different kinds (private / on-premise + public) into one connected landscape. Multi-cloud uses several public providers of the same kind, often for independent workloads. A landscape can be both.
Q5. What is a community cloud?
A private-style cloud shared by several organisations with common requirements (e.g. banks or public agencies), so they share costs while keeping control.
Q6. Which model gives the most control and which the least vendor lock-in?
On-premise gives the most control and flexibility and the lowest lock-in; SaaS gives the least control and the highest lock-in but the simplest management. IaaS and PaaS lie in between.
Q7. What is a hypervisor? Type 1 vs type 2?
Software that creates and runs VMs. Type 1 runs on bare metal (ESXi, Hyper-V, KVM) – data centres and clouds. Type 2 runs on top of a host OS (VirtualBox) – desktops and testing.
Q8. VM vs container?
A VM includes a full guest OS on a hypervisor – strong isolation, GBs, minutes to start. A container shares the host kernel and packages only the app and its libraries – MBs, seconds to start; orchestrated with Kubernetes.
Q9. What is multitenancy?
One installation serves many customers (tenants) whose data and configuration are isolated. It lowers cost and lets the provider upgrade everyone at once – e.g. S/4HANA Cloud Public Edition.
Q10. What is the shared responsibility model?
The provider secures the cloud itself (data centre, hardware, platform); the customer secures what it puts in the cloud (data, users, roles, its own code). The more managed the service (SaaS), the more the provider covers – but data and access always stay with the customer.
Q11. What are RISE with SAP and GROW with SAP?
RISE: one contract bundling S/4HANA Cloud (Private or Public Edition), infrastructure, operations, BTP credits and transformation tools – mainly for existing customers. GROW: a package for new customers starting on S/4HANA Cloud Public Edition.
Q12. Why is virtualization called the foundation of the cloud?
It lets one physical machine be split into many isolated virtual resources, so providers can pool hardware for many customers and hand out or take back capacity in seconds – resource pooling and elasticity.
Q13. Scenario: an app you moved to Cloud Foundry loses uploaded files after every restart, and users are logged out when you scale to three instances. What is wrong?
It breaks the twelve-factor rule of stateless processes. The local file system of an instance is temporary and each instance has its own memory. Store files in a backing service (Object Store, Document Management service, database) and keep sessions out of the app instance (the app router holds the session; back ends stay stateless). Configuration and credentials come from bindings, not files.
Q14. Scenario: a customer needs its order app to survive the failure of one data centre. What do you propose?
Run at least two instances so the platform can spread them across availability zones of the region, use managed backing services with high availability (e.g. HANA Cloud replicas), and – if a whole-region outage must be covered – a second region with a failover concept, chosen by the required RPO and RTO.
02 · SAP BTP – Overview & Account Model
Q1. What is SAP BTP and why would an S/4HANA customer use it?
SAP's PaaS that combines app development and automation, integration, data and analytics, and AI. S/4HANA customers use it to build side-by-side extensions without touching the core, integrate SAP and non-SAP systems, run a central launchpad and add analytics and AI.
Q2. Explain the BTP account model.
Global account (contract, billing, entitlements) → optional directories (up to 5 levels) → subaccounts (one region each) → environments (CF org and spaces, Kyma namespaces, ABAP system), subscriptions and service instances.
Q3. Global account vs subaccount?
The global account is the commercial container: contract, billing, entitlements and quotas. Subaccounts are the technical containers where you enable environments, deploy apps, create instances and manage business users – each in exactly one region.
Q4. What is a region and how do you choose it?
A data-centre location run by SAP or a hyperscaler (AWS, Azure, Google Cloud, Alibaba Cloud). Choose by data residency, latency to users and back ends, and which services are available there.
Q5. Name the BTP environments and when you would use each.
Cloud Foundry for polyglot apps and CAP; Kyma for Kubernetes-based microservices and serverless functions; ABAP environment for ABAP Cloud/RAP development. Neo is legacy – not offered to new customers, announced sunset 31 December 2028.
Q6. What is the difference between an entitlement and a quota?
Entitlement = which service plans you may use. Quota = how much of a plan you may consume. Both are bought at global account level and distributed to subaccounts.
Q7. What are space quota plans for?
To limit how much of the subaccount's quota each CF space can use, so one space cannot consume everything. They are optional and never grant extra resources.
Q8. Trial vs free tier vs enterprise account?
Trial: free, time-limited, non-productive, for learning. Free tier: free service plans inside an enterprise account, no SLA, upgradeable to paid plans without data loss. Enterprise: productive, paid, with SLAs.
Q9. Consumption-based vs subscription-based commercial model?
Consumption: pay for actual usage – from prepaid cloud credits (BTPEA/CPEA) or monthly in arrears (Pay-As-You-Go). Subscription: fixed fee for specific services over a term, independent of usage.
Q10. How was SAP BTP called before, and what was Neo?
SAP NetWeaver Cloud (2012, code name Neo) → SAP HANA Cloud Platform (2013) → SAP Cloud Platform (2017) → SAP BTP (name used for everything since 2021). Neo is the original SAP-proprietary environment.
Q11. A developer can't find a service in the marketplace – what do you check first?
Whether the subaccount has an entitlement (and quota) for a plan of that service, and whether the service is available in the subaccount's region and environment.
Q12. What is the SAP Discovery Center?
SAP's public site for SAP BTP: service catalog with plans, regions and prices, a cost estimator and guided missions for reference scenarios.
Q13. Scenario: your team must set up DEV, TEST and PROD subaccounts for a new extension in three countries. How do you keep them consistent?
Group them with directories (e.g. one per country, with labels for the stage), and describe subaccounts, entitlements, subscriptions and role collection assignments as code with the Terraform provider for SAP BTP (or scripts with the btp CLI), applied by a pipeline. Mark PROD as used for production and keep beta features off there.
Q14. Scenario: a developer wants to build a proof of concept that may later go live. Trial or free tier?
Free tier in an enterprise (Pay-As-You-Go or CPEA/BTPEA) account: it has no 90-day limit, data can be kept, and most free plans can be switched to paid plans without losing data. A trial account must not be used productively, stops apps nightly and is deleted after 90 days.
03 · BTP Services, Identity & Connectivity
Q1. What is the difference between a subscription and a service instance?
A subscription is a multitenant SaaS app you subscribe to at subaccount level and use via a URL – independent of environments (e.g. Work Zone, Business Application Studio). A service instance is a technical service created inside an environment (CF space, Kyma namespace) that apps consume via APIs after binding (e.g. Destination, XSUAA, HANA Cloud).
Q2. Binding vs service key?
Both give credentials for a service instance. A binding connects it to an app in the same space and injects the credentials into the app's environment (VCAP_SERVICES). A service key is for consumers outside the space, such as external tools or other systems.
Q3. Explain service, plan, instance and key with an analogy.
Car rental: the service is the car model, the plan is the protection package, the instance is the actual car reserved for you, and the binding / service key is the car key that lets you use it.
Q4. Platform users vs business users?
Platform users (admins, developers) deploy, administer and troubleshoot and are members of accounts, orgs and spaces. Business users use the applications; they authenticate at an IdP and get role collections.
Q5. What is a role collection and how is it built?
The unit you assign to users or IdP groups. The developer defines scopes and role templates in xs-security.json; roles are created from the templates; role collections group roles. Only role collections are assigned.
Q6. What are IAS and IPS?
Parts of SAP Cloud Identity Services. Identity Authentication (IAS) authenticates users – SSO, MFA, policies, proxy to a corporate IdP. Identity Provisioning (IPS) synchronises users and groups from source to target systems.
Q7. What does XSUAA do?
It is the subaccount's OAuth 2.0 authorisation server (Authorization and Trust Management service). It trusts the configured IdP, maps the user's role collections to scopes and issues a JWT that the app router forwards and the app checks.
Q8. How does a BTP app call an on-premise S/4HANA system securely?
Through a destination with proxy type OnPremise, the Connectivity service and the Cloud Connector installed in the customer network. The Cloud Connector opens an outbound TLS tunnel, exposes only allowed hosts and paths under virtual host names – no inbound firewall port is needed.
Q9. What is principal propagation?
Forwarding the cloud user's identity through the Cloud Connector (as a short-lived X.509 certificate) so the back end runs the request as that user with his own authorisations, instead of a shared technical user.
Q10. Why use destinations instead of hard-coded URLs?
They keep URL, proxy type and credentials out of the code, can be changed by admins without redeploying, support many authentication types and let the platform handle tokens and on-premise routing.
Q11. What is SAP Build Work Zone and how does it relate to the SAP Launchpad service?
Work Zone standard edition is the central Fiori launchpad site on BTP; it is the renamed SAP Launchpad service. The advanced edition adds a digital workplace with workspaces and business content.
Q12. Where do you store a password that a BTP app needs at runtime?
In a destination (for connection credentials) or in the SAP Credential Store – never in code, mta.yaml or Git. Security-relevant events are traced with the SAP Audit Log service.
Q13. What is SAP Service Manager, and how do you create a BTP service instance from Kyma?
Service Manager is the subaccount's central registry of service brokers, plans, instances and bindings for all environments. In Kyma the BTP Operator module (the SAP BTP service operator) lets you create ServiceInstance and ServiceBinding custom resources; the credentials arrive in a Kubernetes Secret and the instance is visible in the cockpit like a CF instance.
Q14. Scenario: a CAP app on BTP (on AWS) must read a database in the customer's own AWS account, which must not be reachable from the internet. How do you connect?
With SAP Private Link service: create a Private Link instance pointing to the customer's endpoint service, approve the connection in the AWS account, bind the instance and use the private host name (or a destination with ProxyType PrivateLink). The traffic stays on the hyperscaler's private network. The alternative is a Cloud Connector installed inside that VPC.
Q15. Scenario: users are managed in Microsoft Entra ID. New employees in group "Sales Approvers" must get access to the BTP approval app automatically. How do you set it up?
Trust the company's IAS tenant in the subaccount and let IAS proxy log-ons to Entra ID. Bring the group into IAS (IAS forwards it from the corporate IdP, or Identity Provisioning copies it). In the subaccount map the group to the app's role collection (trust configuration → role collection mappings). Joining the group in Entra ID then grants access at the next log-on – no manual user assignment.
04 · BTP Security Deep Dive – OAuth 2.0, JWT, XSUAA & App Router
Q1. Map the OAuth 2.0 roles to a Fiori + CAP app on BTP.
The business user is the resource owner; the app router is the client (with its XSUAA client ID and secret); XSUAA – or IAS – is the authorisation server; the CAP service is the resource server that validates the JWT and checks scopes.
Q2. Authorization code vs client credentials vs JWT bearer – when do you use which?
Authorization code for interactive user login through the app router. Client credentials for technical calls without a user (jobs, integrations) – the token has authorities, no user. JWT bearer (token exchange) when an app holding a user token must call another API as that user. The password grant is legacy and must not be used.
Q3. What is inside an XSUAA JWT and how does CAP validate it?
Header (alg, kid, jku), payload (iss, sub, aud, exp, client_id, scope, user_name, email, zid, xs.user.attributes …) and an RSA signature. CAP validates offline: public key from XSUAA's token_keys endpoint, signature, expiry, issuer and audience → 401 if wrong; then the role/scope from @requires / @restrict → 403 if missing.
Q4. Is a JWT encrypted? What follows for security?
No – it is only Base64url-encoded and signed. Anyone can read it and anyone holding it can use it until it expires. So: no secrets in claims, short lifetimes, HTTPS only, keep tokens server-side (app router session), never log them and never paste productive tokens into online decoders.
Q5. Explain scopes, role templates, roles and role collections. What is $XSAPPNAME?
The developer defines scopes and role templates (scopes + attributes) in xs-security.json; roles are templates with concrete attribute values; admins bundle roles into role collections and assign those to users or IdP groups. $XSAPPNAME is a placeholder for the xsappname plus a generated suffix (e.g. travel-app!t123), which makes scope names unique.
Q6. A user was assigned the right role collection but still gets 403. Why?
Most often the token is old – scopes are copied in at login, so the user must log out and in. Other causes: the role collection is mapped to an IdP group the user is not in, the role was created from a template with attribute values that filter everything, or app router and service use different XSUAA instances so the scope belongs to another xsappname.
Q7. App A must call app B on BTP as the logged-on user. How?
Same subaccount and tightly coupled: B grants a scope to A (granted-apps), A lists it in foreign-scope-references and forwards the user token. Otherwise exchange the token: a destination with OAuth2UserTokenExchange (same subaccount) or OAuth2JWTBearer; across subaccounts or to SAP SaaS OAuth2SAMLBearerAssertion – or use IAS, which works across landscapes.
Q8. XSUAA or IAS for a new application?
SAP's CAP documentation recommends IAS (SAP Cloud Identity Services) for new projects: OIDC, one identity across subaccounts, regions and SAP cloud products. XSUAA stays fully supported and is the most common setup in existing apps; both can run side by side. Check multitenancy and authorisation needs (scopes vs IAS groups / policies) before deciding.
Q9. What does the app router do and what is in xs-app.json?
Single entry point: login via OAuth, session and token handling, routing, CSRF protection, scope checks, logout. xs-app.json has welcomeFile, authenticationMethod, logout and routes; each route has a regex source, optional target rewrite, a destination, service (html5-apps-repo-rt) or localDir, authenticationType and csrfProtection. Routes are matched top to bottom – catch-all last.
Q10. Standalone or managed app router?
Managed (part of SAP Build Work Zone) for Fiori apps in a launchpad – SAP runs and updates it, routes come from the xs-app.json inside each app in the HTML5 Application Repository. Standalone (@sap/approuter as an MTA module) when you need custom middleware, special session or header settings, or the app must run outside Work Zone – but then you operate and patch it.
Q11. Walk me through a Fiori app on BTP reading data from on-premise S/4HANA as the user.
Browser → app router (session, JWT) → CAP with the user's JWT → CAP looks up the destination (virtual host, OnPremise, PrincipalPropagation, location ID) → request goes to the connectivity proxy with a user exchange token (or Connectivity token + user JWT) → TLS tunnel to the Cloud Connector, which checks the allowed path and creates a short-lived X.509 certificate for the user → S/4HANA trusts the CC, maps the certificate to an SAP user with CERTRULE and applies the PFCG roles.
Q12. The app gets 503 when calling the on-premise system. How do you troubleshoot?
Check the error text: "no Cloud Connector connected" → CC down or the location ID in the destination does not match the CC's; "access denied" → resource path not exposed. Then check the destination (name, level, virtual host, proxy type), the Destination and Connectivity bindings, the CC status in the cockpit, and the CC and back-end logs (ICM trace, security audit log for principal propagation).
Q13. A new IAS-based CAP app must call an existing XSUAA-protected service as the logged-on user. How?
Create the app's identity instance with xsuaa-cross-consumption: true, so the IAS token's audience contains the subaccount's XSUAA client. Exchange the IAS token at XSUAA with the JWT bearer grant (library call, or a destination with OAuth2JWTBearer) and call the service with the resulting XSUAA token, which carries the user's scopes. With @sap/xssec 4 the library call is fetchJwtBearerToken on the XsuaaService, or the opt-in xsuaaLegacyExtension; the automatic IAS_XSUAA_XCHANGE_ENABLED option of version 3 is gone.