option
Questions
ayuda
daypo
chercher.php
TEST SUPPRIMÉ, VOUS POUVEZ ÊTRE INTÉRESSÉ PAR : DBA 01/03
COMMENTAIRES STATISTIQUES RECORDS
EFFECTUER UN TEST
Titre du test:
DBA 01/03

Description:
DBA 01/03

Auteur:
AVATAR
DBA 01/03
AUTRES TESTS DE L'AUTEUR

Date de création:
25/09/2023

Catégorie: Autres
Questions numériques : 20
PARTAGER LE TEST
COMMENTAIRENouveau commentaire
Il n'y a aucun commentaire sur ce test.
Ordre du jour :
1 - To grant a user access to an application in an SAP BTP subaccount, what must you assign to this user? A role template A role A role collection.
2 - You initialize a new CAP project with initial project structure using a generator in SAP Business Application Studio. What are some of the default elements being reated? folder /app file manifest.yml folder /approuter file package.json.
3 - Which of the following can be used as identity providers for SAP BTP applications? SAP S/4HANA on-premise Identity authentication tenant SAP Authorization and Trust Management Service SAP S/4HANA Cloud.
4 - Which of the following are added to your CAP project when you run the "cds add pipeline" command in an SAP Business Application Studio terminal? A file named Jenkinsfile A .pipeline folder with a config.yrnl file A .pipeline folder with a manifest.yrnl file A Jenkins folder with a manifest.yml file.
5 - When using namespaces, what does SAP recommend you use to construct names for namespaces? Your organization's name Cascades of acronyms Reverse domain names.
6 - What are tasks of the approuter? Routing requests from the web browser to the CAP service. Authorizing users for the CAP service and the provider of the UI service. Routing requests from the web browser to the provider of the UI service. Forwarding user requests to the XSUAA service for authentication and authorization. Routing requests from the application to the SAP Launchpad service.
7 - In your Git system, you have set up a webhook for your SAP Continuous Integration and Delivery pipeline. What does the webhook require to send a request to the specified payload URL? A password A content type A secret A user.
8 - According to SAP CAP best practices, which error types should you NOT catch? Runtime errors Rejections of promises Unexpected errors Programming errors.
9 - What is a difference between business users and platform users on the SAP BTP? Business users use deployed applications. Platform users deploy, administer, and troubleshoot applications and services. Platform users use deployed applications. Business users deploy, administer, and troubleshoot applications and services. .
10 - What are some characteristics of JSON files? JSON files are also valid YAML files. JSON files contain JavaScript commands. JSON files contain human-readable data. JSON files are based on XML.
11 - During application development, what are some principles of dealing with application errors? Log unexpected errors Use as many try/catch blocks as possible Use try/catch blocks sparingly Hide errors and continue silently.
12 - You have developed a risk service application in CAP. To which file must you add restrictions - @(restrict...) - to add authorizations to your service? srv/risk—service.js xs-security.js package-lock.json srv/risk—service.cds .
13 - 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 O/o. The price shouldbe calculated after books are read from the service. Drag the code snippets from below into the correct parts of the event handler implementation. Drag the key and value items from below into the correct parts of the descriptor file. In below order , top to down and left to right ’bookshop-service’, after, 'READ’, forEach, 'book.language == 'en’, 'book.price = book.price * 0.95, book.price =book.price * 0.9 bookshop-service', 'READ', 'book.price = book.price * 0.95, 'book.language == 'en', after, 'book.price = book.price * 0.9' bookshop-service', 'book.price = book.price * 0.95, after, 'book.price = book.price * 0.9, 'READ', forEach bookshop-service', 'book.price = book.price * 0.95, 'READ', 'book.price = book.price * 0.9, forEach, 'book.language == 'en' bookshop-service', 'book.price = book.price * 0.9, 'READ', 'book.price = book.price * 0.95, forEach, 'book.language == 'en'.
14 - What does SAP Fiori elements use to generate the UI? Custom UI logic Authorizations in the 0 Data service Annotations in the 0 Data service The entity definition of the 0 Data service.
15 - To establish trust, which of the following can be targets of the SAP Authorization and Trust ManagementService? identity-providers multi-environments platforms users.
16 - What is a rule of thumb for when to use namespaces in your models? When your model names are unique When your models are reused in other projects When your app rarely exposes services .
17 - Your CAP project contains an entity called Books. You want to extend the Books entity with the managedaspect. You have already imported the aspect from the ’@sap/cds/common’ Package (see attached graphic). using {managed from '@sap/cds/common'; entity Books { key ID : UUID @(Core.Computed:true); title: String; author: String; } Which 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; }.
18 - You want to register custom event handlers using instances of CAP Code.js SDK classes. Which one do you use? cds.Event cds.Request cds.Service.
19 - What are some characteristics of CAP event handling? You can register multiple event handlers for each event phase. You can register event handlers with instances of cds.service to add custom logic. You can register only one event handler for a specific event. You must use the handler registration APl srv.emit(<event>) to de-register event handlers.
20 - Using a terminal in SAP Business Application Studio, you want to enable authentication support via XSUAAin CAP for SAP BTP. Which command must you run in the terminal? npm i --save xs-security.json nprn i --save @sap/xssec @sap/xsenv cds compile srv --to xsuaa >@sap/xssec @sap/xsenv cds compile srv --to xsuaa >xs-security.json.
Rapport de test