ERPClimb logoERPClimb

SAP Security & GRC BTP Security Interview Questions

BTP Security comes up in SAP Security & GRC interviews because it is one of the few areas where an interviewer can tell, in two questions, whether you have worked with the process or only read about it.

Understand SAP BTP security across identity providers, trust, role collections, destinations, OAuth, technical credentials, Cloud Connector and subaccount or space boundaries. Learn how authentication, authorization and connectivity remain separate concerns.

This page carries 10 reviewed SAP Security & GRC btp security interview questions, each with a complete written answer and no sign-in required. The set breaks down into 1 foundational, 2 mid-level and 7 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.

The fastest way to use this page is to read the question, answer it yourself, and only then read the answer. The gap between your version and the written one is your actual revision list for btp security.

10 BTP Security questions with answers

easyBTP Security

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

Understand SAP BTP security across identity providers, trust, role collections, destinations, OAuth, technical credentials, Cloud Connector and subaccount or space boundaries. Learn how authentication, authorization and connectivity remain separate concerns. Key lesson areas: BTP Security Operations: Audit Logs, Secrets, Certificates and Least Privilege; Role Templates, Roles and Role Collections in SAP BTP; SAP BTP Identity and Trust: Platform Users, Business Users and Identity Providers; Securing Destinations, Cloud Connector and Principal Propagation; XSUAA, OAuth 2.0, Scopes and JWT-Based Application Authorization Operate BTP securely with continuous audit logging, secret/certificate lifecycle management, least-privilege administration, dormant-access review, environment separation and incident-ready evidence. Secure BTP-to-on-premise connectivity by separating destination configuration, Cloud Connector tunnel/resource exposure, trust and authentication, and principal propagation so connectivity does not become authorization bypass. Understand BTP authorization composition: applications define role templates, role instances are created from those templates, and role collections group roles so they can be assigned to users or trusted-IdP groups. Understand BTP identity as two related domains: platform users administer BTP accounts and environments, while business users access applications; both authenticate through configured identity providers and receive authorization separately through roles or role collections. Understand Cloud Foundry application security through Authorization and Trust Management (XSUAA): OAuth/OIDC tokens carry scopes and identity claims that applications validate to enforce role-based access at runtime.
mediumBTP Security

2. How would you apply BTP Security for Identity, Authorization and GRC in a real SAP project? Walk through the design or implementation approach.

A consultant could log into BTP cockpit but could not access an application. The user had Subaccount Viewer platform access, so authentication worked, but no application role collection was assigned. The team fixed application authorization instead of changing trust configuration. A Fiori app reached on-premise S/4 through Cloud Connector but every user saw the same broad data because the destination used one powerful technical user. The business required user-level authorization. The architecture was changed to supported principal propagation, and S/4 roles once again controlled each user's access. A production integration failed when a client certificate expired. The certificate had been uploaded manually two years earlier with no owner or alert. The recovery was simple, but the outage exposed weak security operations. The team implemented certificate inventory, owner, expiry alerts, controlled rotation and environment-specific credentials. A support engineer needed to manage destinations. The team initially assigned Subaccount Administrator, granting far more rights than needed. Review identified the dedicated destination administration role collection/capability and replaced the broad admin access. An API returned 403 although login succeeded. The JWT was valid but lacked the application's Write scope because the user's role collection contained only the Viewer role. Security fixed the role assignment; changing OAuth client secrets or S/4 roles would not have solved the BTP application authorization. Interview focus: Describe template -> role -> role collection -> user/group. Strong answers also explain why role collections are the operational assignment unit and how least-privilege platform administration is achieved. Discuss audit, secret/certificate lifecycle, least-privilege platform roles and environment separation. Strong answers focus on operational controls and incident evidence, not only login technology. Explain authentication/trust versus authorization and platform versus business users. Strong answers mention global account/subaccount levels, IdP trust, role collections and application roles. Explain destination, Cloud Connector and principal propagation as separate layers. Strong answers say the backend still authorizes the propagated user and that resource exposure should be least privilege. Explain scopes, role templates/collections and JWT validation, then contrast user-token and client-credentials scenarios. Strong answers mention issuer/audience/expiry validation and downstream authorization separation. Recommended practice: • Def
mediumBTP Security

3. Suppose you inherit an existing BTP Security for Identity, Authorization and GRC 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 Operations: Audit Logs, Secrets, Certificates and Least Privilege; Role Templates, Roles and Role Collections in SAP BTP; SAP BTP Identity and Trust: Platform Users, Business Users and Identity Providers; Securing Destinations, Cloud Connector and Principal Propagation; XSUAA, OAuth 2.0, Scopes and JWT-Based Application Authorization Known mistakes: • Assigning Subaccount Administrator for every support task. • Confusing scopes, role templates, roles and role collections. • Creating many overlapping role collections with no owner. • Mapping large IdP groups to critical admin access. • Reviewing individual roles but not effective collection assignment. • Confusing platform and business-user permissions. • Treating identity-provider group membership as application authorization by itself. • Adding administrator roles to fix an application 403. • Creating duplicate users under multiple IdPs without identity strategy. • Troubleshooting authorization without knowing which IdP authenticated the session. • Storing secrets in Git or support tickets. • Sharing one service key across environments. • Giving auditors full admin to view logs. • Keeping project admins after project completion. • Having no certificate/secret inventory or expiry monitoring. • Treating a valid JWT as proof the user is authorized for every operation. • Trusting decoded token claims without signature/audience validation. • Logging full bearer tokens. • Using client credentials when end-user identity must be propagated. • Mixing BTP application scopes with downstream S/4 authorizations. • Treating Cloud Connector as unrestricted network access. • Assigning broad Destination Administrator rights. • Using a technical user when user identity must be enforced. • Blaming network connectivity for backend 403 errors. • Exposing more internal URL paths than the application needs. Best practices: • Define narrow business scopes. • Validate token signature, issuer, audience and expiry. • Never log bearer tokens. • Choose OAuth flow according to identity requirement. • Enforce authorization again at downstream boundaries. • Expose only required backend resources. • Limit destination/cloud-connector administrators. • Use end-user propagation when business authorization requires it. • Rotate certificates/secrets. • Diagnose tunnel, auth and backend authorizatio
hardBTP Security

4. You are the senior consultant/architect responsible for SAP BTP Identity and Trust: Platform Users, Business Users and Identity Providers. The project situation is: A consultant could log into BTP cockpit but could not access an application. How would you assess the design, identify the highest-risk failure modes, and define the evidence required before approving it for production?

Understand BTP identity as two related domains: platform users administer BTP accounts and environments, while business users access applications; both authenticate through configured identity providers and receive authorization separately through roles or role collections. Deep explanation: Authentication answers who the user is; authorization answers what the user may do. SAP BTP keeps these concerns explicit. Platform users administer global accounts, directories, subaccounts and environment resources. Business users consume deployed/subscribed applications. The same human may be both, but the permissions and user-management context differ. Each account level can use trusted identity providers. SAP's default identity services can be used, and customers commonly establish trust with SAP Cloud Identity Services - Identity Authentication or a corporate identity provider. The identity provider authenticates the user and sends identity attributes/groups; BTP authorization then maps access through roles/role collections or application-specific models. Creating a user record is not sufficient. A platform user needs appropriate account-level role collections, while a business user needs application role collections/business-role assignments. Conversely, assigning broad role collections cannot repair authentication/trust issues. Troubleshooting should capture the account/subaccount, identity provider, user identifier, token/subject, expected group mapping and assigned role collections. "User exists in IAS" does not prove BTP has the correct authorization mapping. Recommended practices: • Keep platform administration separate from business access. • Standardize identity-provider strategy. • Map groups to least-privilege role collections. • Capture IdP and subject during incidents. • Review dormant platform administrators regularly. Common mistakes to challenge: • Confusing platform and business-user permissions. • Treating identity-provider group membership as application authorization by itself. • Adding administrator roles to fix an application 403. • Creating duplicate users under multiple IdPs without identity strategy. • Troubleshooting authorization without knowing which IdP authenticated the session. Interview angle: Explain authentication/trust versus authorization and platform versus business users. Strong answers mention global account/subaccount levels, IdP trust, role collections and application roles.
hardBTP Security

5. You are the senior consultant/architect responsible for Role Templates, Roles and Role Collections in SAP BTP. The project situation is: A support engineer needed to manage destinations. How would you assess the design, identify the highest-risk failure modes, and define the evidence required before approving it for production?

Understand BTP authorization composition: applications define role templates, role instances are created from those templates, and role collections group roles so they can be assigned to users or trusted-IdP groups. Deep explanation: In SAP BTP, a role template is an application-provided authorization blueprint. A role is an instance of a role template, potentially with attribute values. A role collection groups one or more roles and is what administrators commonly assign to users or user groups. This layering separates application authorization design from operational assignment. Application developers define scopes/role templates. Platform/security administrators assemble meaningful role collections such as Viewer, Operator or Application Administrator and assign them according to least privilege. Default BTP role collections exist for platform administration, such as Subaccount Administrator or viewers, plus service-specific administration roles. Do not assign broad default administrator collections simply because a user needs one service function; BTP provides narrower service roles for many capabilities. When using an external SAML identity provider, role collections can be mapped/assigned to IdP groups so membership is managed centrally. Group mapping should be tested carefully because a broad corporate group can unintentionally grant cloud administration. Audit should focus on effective role collections, high-privilege roles, who can assign roles, and unused legacy collections. Recommended practices: • Use task-specific role collections. • Keep collection naming business/operationally meaningful. • Restrict who can manage role assignments. • Review group mappings and inherited access. • Retire duplicate/unused collections. Common mistakes to challenge: • Assigning Subaccount Administrator for every support task. • Confusing scopes, role templates, roles and role collections. • Creating many overlapping role collections with no owner. • Mapping large IdP groups to critical admin access. • Reviewing individual roles but not effective collection assignment. Interview angle: Describe template -> role -> role collection -> user/group. Strong answers also explain why role collections are the operational assignment unit and how least-privilege platform administration is achieved.
hardBTP Security

6. You are the senior consultant/architect responsible for XSUAA, OAuth 2.0, Scopes and JWT-Based Application Authorization. The project situation is: An API returned 403 although login succeeded. How would you assess the design, identify the highest-risk failure modes, and define the evidence required before approving it for production?

Understand Cloud Foundry application security through Authorization and Trust Management (XSUAA): OAuth/OIDC tokens carry scopes and identity claims that applications validate to enforce role-based access at runtime. Deep explanation: In the SAP BTP Cloud Foundry environment, the Authorization and Trust Management service (commonly XSUAA) supports application authentication and authorization. Applications define authorization scopes and role templates. At runtime, users or technical clients authenticate through the configured OAuth/OIDC flow and receive signed access tokens, commonly JWTs. The token contains issuer, subject/client, audience and granted scope/role information according to configuration. The application or framework validates token signature, issuer/audience/expiry and then enforces required scopes. Role collections connect human assignments to application roles; the resulting scopes are reflected in authorized tokens. For technical service-to-service access, OAuth client credentials can represent the client application rather than an end user. Do not use client credentials when business-user identity/authorization is required. Never decode a JWT and trust its contents without cryptographic validation. Do not log complete production access tokens because they are bearer credentials. Troubleshooting should inspect sanitized claims—issuer, audience, subject/client, scopes and expiry—plus the app binding and trust configuration. Authorization must also exist in the backend application. A valid token proves identity/scopes for that service, not unrestricted access to downstream S/4HANA. Recommended practices: • Define narrow business scopes. • Validate token signature, issuer, audience and expiry. • Never log bearer tokens. • Choose OAuth flow according to identity requirement. • Enforce authorization again at downstream boundaries. Common mistakes to challenge: • Treating a valid JWT as proof the user is authorized for every operation. • Trusting decoded token claims without signature/audience validation. • Logging full bearer tokens. • Using client credentials when end-user identity must be propagated. • Mixing BTP application scopes with downstream S/4 authorizations. Interview angle: Explain scopes, role templates/collections and JWT validation, then contrast user-token and client-credentials scenarios. Strong answers mention issuer/audience/expiry validation and downstream authorization separation.
hardBTP Security

7. You are the senior consultant/architect responsible for Securing Destinations, Cloud Connector and Principal Propagation. The project situation is: A Fiori app reached on-premise S/4 through Cloud Connector but every user saw the same broad data because the destination used one powerful technical user. How would you assess the design, identify the highest-risk failure modes, and define the evidence required before approving it for production?

Secure BTP-to-on-premise connectivity by separating destination configuration, Cloud Connector tunnel/resource exposure, trust and authentication, and principal propagation so connectivity does not become authorization bypass. Deep explanation: A BTP destination describes how an application reaches a target: URL, proxy type, authentication method and related properties/certificates. SAP Cloud Connector provides a controlled outbound-established tunnel from on-premise networks to BTP and exposes only configured internal systems/resources. Cloud Connector is not a VPN that should expose everything. Administrators explicitly map internal systems and resources, and its own administrative access must be protected. BTP destination administration is also privileged because a malicious destination can redirect credentials/tokens or open unintended access paths. Principal propagation preserves an end-user identity from BTP toward an on-premise backend in supported scenarios. It requires carefully configured trust, certificates/assertions and backend user mapping. Connectivity success does not mean the propagated user is authorized; the backend must still enforce its roles. For technical integration, other destination authentication methods such as OAuth client credentials, certificates or Basic (where supported/appropriate) may be used. Choose the model based on whether calls act as a technical system or on behalf of a user. Troubleshooting should separate network tunnel, destination resolution, authentication, identity propagation and backend authorization. A 403 from S/4 after successful tunnel connection is not a Cloud Connector network failure. Recommended practices: • Expose only required backend resources. • Limit destination/cloud-connector administrators. • Use end-user propagation when business authorization requires it. • Rotate certificates/secrets. • Diagnose tunnel, auth and backend authorization separately. Common mistakes to challenge: • Treating Cloud Connector as unrestricted network access. • Assigning broad Destination Administrator rights. • Using a technical user when user identity must be enforced. • Blaming network connectivity for backend 403 errors. • Exposing more internal URL paths than the application needs. Interview angle: Explain destination, Cloud Connector and principal propagation as separate layers. Strong answers say the backend still authorizes the propagated user and that resource exposure should be least privilege.
hardBTP Security

8. A production issue is reported in BTP Security for Identity, Authorization and GRC. 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: • Assigning Subaccount Administrator for every support task. • Confusing scopes, role templates, roles and role collections. • Creating many overlapping role collections with no owner. • Mapping large IdP groups to critical admin access. • Reviewing individual roles but not effective collection assignment. • Confusing platform and business-user permissions. • Treating identity-provider group membership as application authorization by itself. • Adding administrator roles to fix an application 403. • Creating duplicate users under multiple IdPs without identity strategy. • Troubleshooting authorization without knowing which IdP authenticated the session. • Storing secrets in Git or support tickets. • Sharing one service key across environments. • Giving auditors full admin to view logs. • Keeping project admins after project completion. • Having no certificate/secret inventory or expiry monitoring. • Treating a valid JWT as proof the user is authorized for every operation. • Trusting decoded token claims without signature/audience validation. • Logging full bearer tokens. • Using client credentials when end-user identity must be propagated. • Mixing BTP application scopes with downstream S/4 authorizations. • Treating Cloud Connector as unrestricted network access. • Assigning broad Destination Administrator rights. • Using a technical user when user identity must be enforced. • Blaming network connectivity for backend 403 errors. • Exposing more internal URL paths than the application needs. Checks and practices: • Define narrow business scopes. • Validate token signature, issuer, audience and expiry. • Never log bearer tokens. • Choose OAuth flow according to identity requirement. • Enforce authorization again at downstream boundaries. • Expose only required backend resources. • Limit destination/cloud-connector administrators. • Use end-user propagation when business authorization requires it. • Rotate certificates/secrets. • Diagnose tunnel, auth and backend authorization separately. • Inventory every secret/certificate with owner and expiry. • Centralize audit-log monitoring. • Review privileged members periodically. • Use separate identities per environment/workload. • Rotate credentials through controlled automation where possible. • Keep platform administration separate from business access. • Standardize identity-provider strategy. • Map groups
hardBTP Security

9. What are the most important design decisions, trade-offs, and best practices in BTP Security for Identity, Authorization and GRC?

• Define narrow business scopes. • Validate token signature, issuer, audience and expiry. • Never log bearer tokens. • Choose OAuth flow according to identity requirement. • Enforce authorization again at downstream boundaries. • Expose only required backend resources. • Limit destination/cloud-connector administrators. • Use end-user propagation when business authorization requires it. • Rotate certificates/secrets. • Diagnose tunnel, auth and backend authorization separately. • Inventory every secret/certificate with owner and expiry. • Centralize audit-log monitoring. • Review privileged members periodically. • Use separate identities per environment/workload. • Rotate credentials through controlled automation where possible. • Keep platform administration separate from business access. • Standardize identity-provider strategy. • Map groups to least-privilege role collections. • Capture IdP and subject during incidents. • Review dormant platform administrators regularly. • Use task-specific role collections. • Keep collection naming business/operationally meaningful. • Restrict who can manage role assignments. • Review group mappings and inherited access. • Retire duplicate/unused collections. Relevant lesson areas: BTP Security Operations: Audit Logs, Secrets, Certificates and Least Privilege; Role Templates, Roles and Role Collections in SAP BTP; SAP BTP Identity and Trust: Platform Users, Business Users and Identity Providers; Securing Destinations, Cloud Connector and Principal Propagation; XSUAA, OAuth 2.0, Scopes and JWT-Based Application Authorization A strong answer should connect the technical or functional choice to maintainability, upgrade impact, performance, security, supportability, and clean-core principles where applicable.
hardBTP Security

10. You are the senior consultant/architect responsible for BTP Security for Identity, Authorization and GRC Operations: Audit Logs, Secrets, Certificates and Least Privilege. The project situation is: A production integration failed when a client certificate expired. How would you assess the design, identify the highest-risk failure modes, and define the evidence required before approving it for production?

Operate BTP securely with continuous audit logging, secret/certificate lifecycle management, least-privilege administration, dormant-access review, environment separation and incident-ready evidence. Deep explanation: BTP security is not finished when trust and role collections work. Day-2 operations determine whether the design remains secure. Audit logs provide evidence of security-relevant administrative and application events according to enabled services. Assign read access to auditors/operators separately from broad administrators and define retention/export/SIEM handling according to organizational policy. Secrets and certificates need lifecycle ownership. Service keys, OAuth client secrets, private keys and destination certificates should never be embedded in source code or copied into tickets. Store them in supported secret/configuration services, rotate them before expiry/compromise and monitor certificate expiration. Least privilege applies at global account, directory, subaccount, environment and service levels. Review who can change trust, destinations, role collections, service instances and Cloud Connector configuration. Remove dormant project members and stale temporary admin access. Separate DEV/TEST/PRD subaccounts and credentials. Reusing one technical identity or certificate across environments increases blast radius and makes audit attribution difficult. Create an incident evidence pack: subaccount, app/service instance, user/client, timestamp, audit-log event, relevant token claims (sanitized), destination/credential version and recent configuration changes. Recommended practices: • Inventory every secret/certificate with owner and expiry. • Centralize audit-log monitoring. • Review privileged members periodically. • Use separate identities per environment/workload. • Rotate credentials through controlled automation where possible. Common mistakes to challenge: • Storing secrets in Git or support tickets. • Sharing one service key across environments. • Giving auditors full admin to view logs. • Keeping project admins after project completion. • Having no certificate/secret inventory or expiry monitoring. Interview angle: Discuss audit, secret/certificate lifecycle, least-privilege platform roles and environment separation. Strong answers focus on operational controls and incident evidence, not only login technology.

Related lesson

XSUAA, OAuth 2.0, Scopes and JWT-Based Application Authorization (Part 3)

Related topics

Next practice step

Go deeper on this topic