BTP
|
|
Título del Test:
![]() BTP Descripción: Extension |



| Comentarios |
|---|
NO HAY REGISTROS |
|
What is an Application Programming Interface (API)? (2). A software development kit (SDK) for mobile applications. A way to communicate with other software programs. A way for applications to remotely modify other applications. Specifies how software programs can exchange information with each other. What are some best practices when using an API?(2). Good API documentation is recommended. Use names that are arbitrary. To complement API references, use development or service guides. Decommissioning and deprecation of APIs are done without notice. Where can you find APIs provided by SAP and SAP partners?. SAP Cloud Connector. SAP Business Application Studio. SAP API Business Hub. What is OData? (2). OData builds on HTTP, AtomPub, and JSON using URIs to address and access data feed resources. OData is RESTful. OData uses the SOAP Protocol. Data is an architectural design template for hypermedia information systems. OData currently supports the following formats: (2). XHTML. XML-based Atompub. JSON format. Javascript. Which HTTP verbs are supported by Odata to perform CRUD operations? (2). CONNECT. TRACE. PUT. PATCH. What are some characteristics of YAML files? (2). YAML files can be used as configuration files. YAML files are also valid JSON files. YAML files are based on XML. YAML files rely on correct indentation. What is JSON? (2). JSON uses human-readable text. JSON is an open standard data interchange format. A YAML file is always a valid JSON file. JSON uses Javascript syntax. What is the relationship between YAML and JSON? (2). YAML and JSON are unrelated. JSON is a superset of YAML. YAML is a superset of JSON. Each JSON file is a valid YAML file. What is the general rule of thumb for using namespaces?. Use namespaces if services exposed by your app are rarely reused. Use namespaces if your models might be reused in other projects. Namespaces are mandatory and must always be used. What is recommended if you use namespaces?. Reverse domain name. Your current organization’s name. Cascades of acronyms. What is the use of Drafts in SAP Fiori? (3). To keep apps stateless. To keep unsaved changes if an editing activity is interrupted, allowing users to resume editing later. As a locking mechanism to prevent multiple users from editing the same object at the same time, and to make users aware when there are unsaved changes by another user. To prevent data loss if an app terminates unexpectedly. When would you use Fiori Elements? (2). A standard floorplan is sufficient. A unique floorplan is required. Flexibility is more important than speed. Speed is more important flexibility. What are some core principles of the design philosophy of SAP Fiori? (3). Productive. Adaptive. Role-based. Intuitive. Coherent. Which of the ff. SAP Fiori pages are mandatory? (2). Header. Content. Toolbars. Footer. What are automatically created when you create a Fiori Elements app from the Application Generator? (2). app folder. srv folder. package.json. package.yaml. Your customer presents you with the following UI requirements: • Users need to work through a comparatively small set of items, one by one. • Multiple views of the same content. • One kind of data visualization. Which SAP Fiori elements floorplan do you recommend they use?. Analytical List Page. Worklist. Object Page. List Report. Your customer presents you with the following UI requirements: • Users work on different kinds of items. • Different visualizations without interactions between the visualizations. • No drilldown. Which SAP Fiori elements floorplan do you recommend they use?. Analytical List Page. Worklist. Object Page. List Report. Your customer presents you with the following UI requirements: • The same visualizations for all users. • Extraction of key information to identify a root cause. • Searching, filtering, and sorting of items. Which SAP Fiori elements floorplan do you recommend they use?. Analytical List Page. Worklist. Object Page. List Report. What does SAP Fiori elements use to generate the UI? (2). Custom UI Logic. Annotations in the OData service. Authorizations in the OData service. The entity definition of the OData service. CAP provides supports for the ff. CRUD events: (3). CREATE. REPLACE. UPDATE. READ. REFRESH. You want to register custom event handlers using instances of CAP Node.js SDK classes. Which one do you use?. cds.Request. cds.Service. cds.Event. In CAP, which keyword is used to send events?. throw. emit. actions. stream. Which language do you use to create a data model in a CAP project?. SQL. Core Data Services Query Language (CQL). Core Data Services Definition Language (CDL). ABAP. Which event phases can you use with CAP event handlers by default? (3). on. while. after. before. between. Which is True?. You can register multiple handlers for one event phase. You can register only one handler for one event phase. Your CAP project contains an entity called Books. You want to extend the Books entity with the managed aspect. You have already imported the aspect from the '@sap/cds/common' package. What is a valid way to extend the entity with the aspect?. entity Books : managed { key ID : UUID @(Core.Computed : true); title : String; author : String; }. entity Books : { key ID : UUID @(Core.Computed : true); title : String; author : String; } aspect managed : Books {}. entity Books { key ID : UUID @(Core.Computed : true); title : String; author : String; aspect : managed; }. You have implemented a simple bookshop CAP application for the purpose of selling books. You want to implement an event handler in the bookshop-service, that calculates a discount of 10 % on the price of books written in English ("en"). In all other cases, you want to calculate a discount of 5 %. The price should be calculated after books are read from the service. Drag the code snippets from below into the correct parts of the event handler implementation. cds.serve(__________________) .with (function(){ this. ________ ( ________, 'books', (books)=>{ books. ________((book) =>{ if (______________) { __________________ } else { ___________________ } });. ‘bookshop-service’. after. ‘READ’. forEach. book.language == ‘en’. book.price= book.price * 0.9. book.price = book.price * 0.95. You want to create a new service definition in your CAP project. In which folder do you place the service definition .cds file?. /root. /db. /srv. /app. What are the types of errors that you must not catch? (2). Programming Errors. Unexpected Errors. Runtime Errors. Rejected Promises. What are key takeaways for programming errors? (2). Limit using try/catch. Use try/catch as much as you can. Hide errors and continue silently. Log unexpected errors. What exception is thrown by CAP SDK for Node.js when a CRUD operation violates a foreign key constraint?. FOREIGN_KEY_VIOLATION. KEY_MATCH_ERROR. UNIQUE_CONSTRAINT_VALUATION. Which of the ff. is True about connecting to a service in the Sandbox environment of the SAP API Business Hub?. You need a personal token to connect to your service. You need an API key to connect your service. You can connect immediately without any credentials. Which of the following can be used as a management tool for SAP Business Technology Platform?. SAP Solution Manager. SAP BTP CLI. SAP Business Application Studio. Cloud Foundry CLI. What does command cf deploy do?. Create a service instance for an MTA. Create authorizations for an MTA. Deploy a new Multitarget Application (MTA) to production. After you run the command cds add hana, which file is updated with the required configuration?. package.js. package.cds. package.json. package.mta. Which statements about YAML files are correct? (2). YAML uses whitespace indentation for structuring purposes. YAML uses hashes: # for comments. YAML uses tab indentation for structuring purposes. YAML uses hyphens: - for comments. What are the two types of BTP Users? (2). Platform Users. Technical Users. Key Users. Business Users. Which of the ff. statements are True? (2). Platform Users use applications in the BTP. Platform Users develop, administer and troubleshoot applications in the BTP. Business Users develop, administer and troubleshoot applications in the BTP. Business Users use applications in the BTP. What do you assign to a user so he/she can have the authority to use an application?. Scope. Role Template. Role. Role Collection. By default, which file describes authorization artifacts of an application for the instantiation of an XSUAA service instance?. xs-security.json. package.json. manifest.yml. service-manifest.yml. Which of the following can be used as identity providers for SAP BTP applications? (2). SAP S/4 HANA Cloud. SAP S/4 HANA On Premise. Identity Authentication Tenant. SAP Authorization and Trust Management Service. How can you bring your company's user base into your SAP BTP subaccount?. Create the users manually in the security section of your subaccount. Establish a trust relationship with your corporate identity provider. Import the users via .csv file upload in the SAP BTP cockpit. Establish a trust relationship with the default identity provider. What can be found in the xs-security.json? (2). Scopes. Role Templates. Roles. Role Collections. What is used to make a scope uniquely identifiable?. sapname. Xsappname. Xsap. userid. \What is one of the required steps to enable authentication support in CAP?. Install a package.json module called passport. Install a CDS module called passport. Install a YAML module called passport. Install a Node.js module called passport. Using a terminal in SAP Business Application Studio, you want to enable authentication support via XSUAA in CAP for SAP BTP. Which command must you run in the terminal?. cds compile srv --to xsuaa >@sap/xssec @sap/xsenv. cds compile srv --to xsuaa >xs-security.json. npm i --save @sap/xssec @sap/xsenv. pm i --save xs-security.json. What are tasks of the approuter? (3). Routing requests from the web browser to the CAP service. Forwarding user requests to the XSUAA service for authentication and authorization. Authorizing users for the CAP service and the provider of the UI service. Routing requests from the application to the SAP Launchpad service. Routing requests from the web browser to the provider of the UI service. What are some principles of continuous integration? (2). Automated Tests. Automated deployment to the productive system. Automated Builds. Automated code change pushes. What does the source code management system use to trigger the CI server?. Webhooks. Web services. HTTP PUT requests. You have set up a pipeline in the SAP Continuous Integration and Delivery service with automated deployment. A build was initiated and failed. What do you check to find out which step of the pipeline failed?. The webhook of your version control system. The webhook event receiver. The stages in the config.yml in the .pipeline folder. The stages of the failed job run. You use SAP Continuous Integration and Delivery for your CAP project. Where can you access the Webhook Event Receiver?. On the Jobs tab. On the Repositories tab. On the Credentials tab. You want to add a Webhook in your project in Github. What does the payload URL need to successfully add the webhook?. Personal Token. Content type. Secret. You created a risk-service and want to make this service secure, to which file will you add annotation @restrict?. srv/risk-service.cds. root/risk-service.cds. xs-security.json. package.json. If you want to build your MTA project in one step, what command do you use?. mbt init. mbt make. mbt build. What are recommendations when publishing an API? (2). Remove obsolete APIs without notice. Using meaningful, self-explanatory API names. Use version numbers in the API names. Provide good API documentation. |




