Exam_3(1-40) Flashcards
(40 cards)
You want to create a new service definition in your CAP project. In which folder do you place the service definition .cds file?
/srv
What are some characteristics of JSON files? Note: There are 2 to choose.
- JSON files contain human-readable data.
- JSON files are also valid YAML files.
Which of the following environments run on the SAP multi-cloud foundation? Note: There are 2 to choose.
- Cloud Foundry environment
- Kyma environment
During application development, what are some principles of dealing with application errors? Note: There are 2 to choose.
- Log unexpected errors
- Use try/catch blocks sparingly
What does the Extended Services - User Account and Authentication (XSUAA) service enable your app to do? (2 corrects)
- Identify users by e-mail, userId, first and last name.
- Check users’ roles to allow or prohibit actions.
In what stage does the “Build Front-end” sub-stage execute the npm install in the root of a project? This downloads front-end dependencies and test tools as defined in your project.json. The “Front-end” part applies only if we have a front-end component in our application. Choose the correct answer.
Build
How can you get the information about org name and API endpoint of your Cloud Foundry environment? There are two correct answers.
- Run command cf target in the terminal of SAP Business Application Studio.
- Access the values from the subaccount overview in the SAP BTP cockpit.
What does SAP Fiori elements use to generate the UI? Note: There are 2 to choose.
- The entity definition of the OData service
- Annotations in the OData service
When deploying applications on SAP BTP, what is the maximum application package size?
1.5 GB
In the SAP BTP, what is the correct order of entities?
Global account. Directory. Subaccount. Environment
What is SAP Business Application Studio? Choose the correct answer.
A web browser-based development environment
In which of the following apps can you manage connected SAP BTP accounts in an SAP S/4HANA system? Choose the correct answer.
Maintain Extensions on SAP BTP
In SAP Business Application Studio, how many dev space types are available?
6
Which web browsers are officially supported in SAP Business Application Studio? Note: There are 3 to choose.
- Mozilla Firefox
- Google Chrome
- Microsoft Edge
Which files are added to your CAP project when you run the “cds add pipeline” command in an SAP Business Application Studio terminal? Note: There are 2 to choose.
- A file named Jenkinsfile
- A .pipeline folder with a config.yml file
What are the two structures JSON is built on? (2 corrects)
- Ordered list of values
- Collections of name/value pairs
Which two of the following are main goals of the SAP Cloud SDK continuous delivery pipeline? Choose 2 correct answers.
- Build extension apps
- Cloud-native development
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?
Worklist
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. Drag the key and value items from below into the correct parts of the descriptor file.
‘bookshop-service’, after, ‘READ’, forEach, ‘book.language == ‘en’, ‘book.price = book.price * 0.9, book.price= book.price *0.95
What is recommended by SAP when you publish an API? Note: There are 2 to choose.
- Use meaningful, clear, and self-explanatory API names.
- Provide good API documentation.
Why do you need an approuter for your application? (2 corrects)
- To connect requests from the web browser to a service
- To connect requests from the web browser to the provider of UI sources
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
Which of the following statements applies to Continuous Deployment? Choose the correct answer.
Deployment to a productive system is triggered automatically.
What is one of the required steps to enable authentication support in CAP?
Install a Node.js module called passport.