ERPClimb logoERPClimb

SAP BTP Integration BTP Security Interview Questions

In SAP BTP Integration rounds, btp security questions are where configuration knowledge meets day-to-day behaviour — what a setting does, and what breaks in a live system when it is wrong.

Covers the foundational and intermediate security architecture of SAP BTP, including identity providers, trust configuration, authentication flows, authorization concepts (roles, role collections, scopes), and how these elements interact across subaccounts, Cloud Foundry, and Kyma runtimes to protect integration and application landscapes.

This page carries 8 reviewed SAP BTP Integration btp security interview questions, each with a complete written answer and no sign-in required. The set breaks down into 2 foundational, 4 mid-level and 2 advanced questions, so you can start at the top for a first interview or skip ahead to the scenario-based items for a senior round.

Rehearse these out loud rather than reading them. If you can explain each answer in your own words, including one realistic way it goes wrong on a project, you are covering what a normal SAP BTP Integration round on btp security expects.

8 BTP Security questions with answers

easyBTP Security

1. What are the core concepts of BTP Security for Integration and Application Architecture, and how would you explain them clearly in an SAP interview?

Covers the foundational and intermediate security architecture of SAP BTP, including identity providers, trust configuration, authentication flows, authorization concepts (roles, role collections, scopes), and how these elements interact across subaccounts, Cloud Foundry, and Kyma runtimes to protect integration and application landscapes. Key lesson areas: BTP Security Fundamentals: Identity, Trust, and the Authorization Model; Configuring Trust, OAuth Clients, and Role Collections Across Subaccounts and Runtimes; Securing Application-to-Application Communication with OAuth2 Client Credentials and X.509 Certificates Explains how to configure trust between a subaccount and an identity provider, set up OAuth clients for service-to-service and user-to-application flows, and manage role collections consistently across Cloud Foundry and Kyma runtimes. Introduces why identity and access control matter on SAP BTP, and explains the core building blocks: Identity Authentication Service, trust configuration, users, roles, role collections, and scopes. Learn how BTP applications authenticate to each other and to backend systems using OAuth2 client credentials flow and X.509 certificate-based mutual TLS, including how to configure service instances, rotate credentials, and troubleshoot token failures.
easyBTP Security

2. A company assigns BTP role collections to hundreds of users individually and leavers keep access. Explain the BTP security model and your fix.

BTP separates platform users (administer accounts) and business users (use apps). Subaccounts trust an identity provider — typically Identity Authentication federated to the corporate IdP. Apps define scopes; role templates become roles; roles are bundled in role collections, which are assigned to users or IdP groups; tokens carry scopes checked by apps. Fix: map role collections to corporate IdP groups sent via IAS, remove individual assignments and unused default IdP users, and run periodic access reviews.
mediumBTP Security

3. A service calls another API and users see data they shouldn't. How do you design app-to-app security?

Decide whether the called API needs the user identity. If yes, use token exchange/JWT bearer so the API receives a user token with attributes and applies authorizations; if not, client credentials with scopes granted by the provider (grant-as-authority-to-apps / authorities). Prefer X.509 credentials or rotated secrets, validate issuer and audience, and debug 401/403 by decoding tokens. Here, switching from client credentials to token exchange fixes the data exposure.
mediumBTP Security

4. How would you apply BTP Security for Integration and Application Architecture in a real SAP project? Walk through the design or implementation approach.

A consulting team built a custom Cloud Foundry application that needed to call an Integration Suite exposed API to trigger a downstream IDoc-based order creation in S/4HANA. Initially the team used a NoAuthentication destination during development for speed. Before go-live, the security review flagged this as a critical finding. The team reconfigured the destination to OAuth2ClientCredentials, created a dedicated xsuaa service instance scoped to only the OrderCreate scope, and set up automated secret rotation via the platform's credential-type rotation feature. During cutover testing, they discovered a scope naming mismatch between the xs-security.json definition and the destination configuration, which was resolved by aligning scope names exactly, including the XSAPPNAME prefix. A retail company rolling out a custom invoice-approval application on BTP found that finance managers in one region could not approve invoices even though they were listed as authorized in the business process documentation. Investigation showed that while the users existed correctly in the corporate identity provider federated through IAS, the BTP administrator had assigned them to a role collection called 'Invoice-Viewer' instead of 'Invoice-Approver' because the two role collections had similarly worded descriptions in the cockpit. This highlighted the need for clear naming conventions and periodic access reviews, since the underlying trust and authentication were working correctly the entire time — the issue was purely in role collection assignment, which is easy to get wrong at scale across dozens of subaccounts. During a go-live for an integration monitoring dashboard, the project team promoted the application from a quality subaccount to production using the same mta.yaml and xs-security.json, assuming security setup would carry over automatically. On go-live day, all users received access-denied errors despite being correctly federated through the shared corporate IAS tenant. Root cause analysis showed that while the XSUAA service instance and role templates were correctly created in production during deployment, no one had created the actual role collections or assigned users to them in the production subaccount, since that step had been done manually in quality and was never scripted. The team resolved this by building a post-deployment automation step using the platform's command-line tooling to create role collections and assign a default administrator group immediately after each environment's first deployment, preventing recurrence in later phases. Interview focus
mediumBTP Security

5. Suppose you inherit an existing BTP Security for Integration and Application Architecture solution. How would you review it before making a change?

First understand the current business requirement, dependencies, configuration or code path, integrations, production usage, and known pain points. Do not redesign before establishing the existing behavior. Lesson areas to review: BTP Security Fundamentals: Identity, Trust, and the Authorization Model; Configuring Trust, OAuth Clients, and Role Collections Across Subaccounts and Runtimes; Securing Application-to-Application Communication with OAuth2 Client Credentials and X.509 Certificates Known mistakes: • Assuming BTP authorization works like ABAP authorization objects, leading to confusion about why access changes take effect immediately in the token rather than requiring a system-wide profile regeneration • Assigning role collections directly based on scope names instead of using descriptive, business-aligned role collection names, causing administrative confusion later • Not distinguishing between platform users (cockpit administrators, authenticated via the default identity provider) and business users (application end users, authenticated via a custom IAS tenant), leading to incorrect trust configuration • Forgetting that scopes are embedded in the token at login time, so a role collection change does not take effect until the user re-authenticates or the token is refreshed • Leaving default or overly broad role templates (e.g., granting full admin scope) assigned to a large role collection used across many unrelated applications • Assuming role collections migrate automatically between subaccounts during deployment promotion, when in fact they must be explicitly created and assigned per subaccount • Confusing the Cloud Foundry XSUAA binding pattern with the Kyma service-operator/secret pattern and applying troubleshooting steps from one runtime to the other • Using the client credentials (service-to-service) OAuth flow for scenarios that actually involve a human user, resulting in tokens without the expected user-specific scopes • Not rotating or securing XSUAA/IAS client secrets consistently, especially when secrets are manually copied instead of managed through the service binding lifecycle • Configuring trust to a personal or temporary IAS tenant during a proof of concept and forgetting to repoint to the corporate-managed IAS tenant before go-live • Leaving destinations configured with NoAuthentication in production because it was convenient during development. • Hard-coding client secrets in application code or repository config files instead of relying on bound service credentials. • Requesting overly broad OAuth scopes for a technical us
mediumBTP Security

6. Design app security with XSUAA so roles are consistent across dev, test and prod.

Define scopes, attributes, role templates and role collections in xs-security.json delivered with the app (MTA resource), creating the XSUAA instance per environment. Establish OIDC trust to IAS per subaccount and map the same-named role collections to IdP groups (environment-specific groups if needed). Use attributes for data restrictions, keep scope names stable, and avoid broad admin roles. Test with users of each role.
hardBTP Security

7. A production issue is reported in BTP Security for Integration and Application Architecture. What would you check first, and how would you troubleshoot it systematically?

Start by reproducing and scoping the issue, then validate the relevant master/configuration/runtime data and isolate the failing step before changing anything. Common failure patterns from the lesson set: • Assuming BTP authorization works like ABAP authorization objects, leading to confusion about why access changes take effect immediately in the token rather than requiring a system-wide profile regeneration • Assigning role collections directly based on scope names instead of using descriptive, business-aligned role collection names, causing administrative confusion later • Not distinguishing between platform users (cockpit administrators, authenticated via the default identity provider) and business users (application end users, authenticated via a custom IAS tenant), leading to incorrect trust configuration • Forgetting that scopes are embedded in the token at login time, so a role collection change does not take effect until the user re-authenticates or the token is refreshed • Leaving default or overly broad role templates (e.g., granting full admin scope) assigned to a large role collection used across many unrelated applications • Assuming role collections migrate automatically between subaccounts during deployment promotion, when in fact they must be explicitly created and assigned per subaccount • Confusing the Cloud Foundry XSUAA binding pattern with the Kyma service-operator/secret pattern and applying troubleshooting steps from one runtime to the other • Using the client credentials (service-to-service) OAuth flow for scenarios that actually involve a human user, resulting in tokens without the expected user-specific scopes • Not rotating or securing XSUAA/IAS client secrets consistently, especially when secrets are manually copied instead of managed through the service binding lifecycle • Configuring trust to a personal or temporary IAS tenant during a proof of concept and forgetting to repoint to the corporate-managed IAS tenant before go-live • Leaving destinations configured with NoAuthentication in production because it was convenient during development. • Hard-coding client secrets in application code or repository config files instead of relying on bound service credentials. • Requesting overly broad OAuth scopes for a technical user instead of scoping tightly to the specific operation needed. • Not handling token expiry gracefully, causing intermittent failures under load when tokens expire mid-batch. • Mixing up client credentials flow scopes with user-propagated token scopes, leading to authorization confusion during debugging. •
hardBTP Security

8. What are the most important design decisions, trade-offs, and best practices in BTP Security for Integration and Application Architecture?

• Always scope OAuth2 clients to the minimum set of required scopes following least privilege. • Prefer certificate-based (x509) client credentials over shared secrets for sensitive or high-volume integrations where the platform supports it. • Automate credential and certificate rotation and monitor token issuance failures as an early warning signal. • Never store client secrets in source control; rely on bound service credentials or a secure vault. • Explicitly configure destination authentication types before promoting to production; never rely on default NoAuthentication. • Validate JWT claims (issuer, audience, expiry, scope) as part of standard troubleshooting playbooks. • Document scope naming conventions across teams to avoid XSAPPNAME prefix mismatches in multi-app landscapes. • Script or automate role collection creation and initial assignment as part of the deployment pipeline rather than relying on manual cockpit steps • Maintain a single, centrally governed custom IAS tenant per line of business or organization rather than ad hoc trust configurations per subaccount • Clearly separate service-to-service (client credentials) OAuth clients from user-facing (authorization code) clients, and document which is used where • Store and rotate XSUAA/IAS client secrets using the platform's supported service binding and credential rotation mechanisms rather than static copies • Validate trust and role collection configuration explicitly as part of go-live checklists, rather than assuming successful deployment implies working security • Use business-oriented, unambiguous names for role collections that map clearly to job functions rather than technical scope names • Federate business user authentication through a dedicated custom IAS tenant rather than relying on the platform's default identity provider for application users • Periodically audit role collection assignments against actual business need, especially in subaccounts with many integration and custom UI5 applications • Document the trust chain (corporate IdP to IAS to subaccount) so support teams can quickly diagnose authentication failures • Educate business administrators that scope/token changes require re-login to take effect, to avoid false troubleshooting leads Relevant lesson areas: BTP Security Fundamentals: Identity, Trust, and the Authorization Model; Configuring Trust, OAuth Clients, and Role Collections Across Subaccounts and Runtimes; Securing Application-to-Application Communication with OAuth2 Client Credentials and X.509 Certificates A strong answer should connect the technical

Related lesson

BTP Security Part 3: App-to-App Security with OAuth2

Related topics

Next practice step

Go deeper on this topic