ERASED TEST, YOU MAY BE INTERESTED ON Generic Test
COMMENTS | STATISTICS | RECORDS |
---|
TAKE THE TEST
Title of test:
Generic Test Description: Generic Test Author: Ashwin Other tests from this author Creation Date: 29/11/2024 Category: Others Number of questions: 80 |
Share the Test:
New Comment
No comments about this test.
Content:
1. You are tasked with developing a simple end-to-end application with data persistency in SAP HANA Cloud and with SAP Fiori as the user frontend, to perform CRUD operations. According to the programming model's golden path, which activities are mandatory when building such applications?
Note: There are 3 correct answers to this question Reuse existing services. Define services. Add the SAP Fiori UI. Define the data model. Add custom logic. 2. What does SAP Fiori elements use to generate the UI? Note: There are 2 correct answers to this question. Custom UI logic. Annotations in the OData service. The entity definition of the OData service. Authorizations in the OData service. 3. Which of the following tools are required to build Spring Boot applications using the SAP Cloud SDK? Note: There are 2 correct answers to this question. Java SE Development Kit 8 Apache Maven version 3.5 or above SAP Mobile Services (MDK) Spring Initializr. 4. Which method can you use to collect error messages with high severity and return them to the caller in the request-response? req.reply req.notify req.reject req.error . 5. In SAP Build Process Automation, what is a decision table rule? A tabular set of input/output rule expressions A set of pre-defined data objects A tabular set of business process decisions A set of rule expressions in an IF-THEN format. 6. Which sequence of steps do you follow when working with files locally in Git in SAP Business Application Studio? Stage • Create, modify, save • Commit • Check out Stage • Create, modify, save • Check out • Commit Check out • Create, modify, save • Stage • Commit Create, modify, save • Stage • Check out • Commit. 7. Which language do you use to create a data model in a CAP project? Core Data Services Definition Language (CDL) ABAP Core Data Services Query Language (CQL) SQL. 8. With respect to the Flow principle of DevOps, which are flow inhibitors? Note: There are 3 correct answers to this question. Manual testing of software Manually created software environment Source code management tool Manually coded user interfaces Overly tight architectures on a technical level. 9. Which error is thrown by the CAP SDK for Node.js, when a CRUD operation violates the foreign key constraints? FOREIGN_KEY_VIOLATION CX_SY_CONSTRAINT_VIOLATION ILLEGAL CRUD OPERATION UNIQUE CONSTRAINT_VIOLATION. 10. What is a necessary step to implement a custom error handler in the CAP SDK for Node.js? Register the error handler function for the before phase of the error. Catch exceptions during a CRUD operation. Register the error handler function for the on phase of the error. Write a custom Node.js package. 11. What can you use to register the JavaScript implementation of an event handler for external services to the framework? An inline function passed to result of cds.connect() An inline function passed to result of cds.serve() A.js file with the same name as the .cds file An @impl annotation in your CDS model fille. 12. In SAP Build Process Automation, what is a policy? A guide to business process mapping A collection of decisions A basis for making business rules A collection of business rules. 13. What are some characteristics of YAML files? Note: There are 2 correct answers to this question. 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. 14. Which of the following are benefits of using the OData Virtual Data Model of the SAP Cloud SDK? Note: There are 3 correct answers to this question. Commonly used SQL query technology Easy access to create, update, and delete operations Type safety for functions Auto-completion of function names and properties Database procedures provided out of the box. 15. What is the prerequisite before you can create a CI/CD job for a project? The project has been shared to a remote Git repository. The project has been deployed. The project has been previewed. 16. What are the main features and capabilities of the app router? Note: There are 3 correct answers to this question. It can serve static content such as web pages, SAPUI5 or other client side code. It manages the authentication flows for the application. It acts as an authorization server. It downloads all necessary libraries. It is the central entry point of the application. 17. 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 (see code). 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 need to secure your application in the Cloud Foundry environment. In which file do you maintain routes during design time? xs-app.json mta.yaml xs-security.json manifest.yml. 19. Which actions are executed in Cloud Foundry under the Deploy & Execute phase when you run an application? Note: There are 2 correct answers to this question. Fueling generic runtimes to serve recurring tasks automatically Integrating the data with other SAP systems Declaratively capturing domain knowledge in CDS models Maximizing boilerplate code to real custom logic. 20. When you create an API Rule for a service, what is created automatically? A Helm Chart An Istio Virtual Service A Kubernetes Deployment A Kubernetes Service. 21. How do you debug a Node.js module in SAP Business Application Studio? Add the sap.hana.xs.debugger:Debugger role to the HDI container's #RT user. Start the debugger from the CF command line interface and run the program. Set the enabled parameter to true in the section debugger of the xsengine.ini file. Attach the debugger to the application. 22. You have configured an approuter by creating the xs-app.json file in the approuter folder with the following content: What does this routes array tell the approuter? Note: There are 2 correct answers to this question. The files requested for /app will be put to the resources folder. All requests starting with /service will be forwarded to the CAP service. The files in the resources folder will be served for all requests to /app. All requests starting with /service will be targeted to the folder resources. 23. What must you do first before you can get visibility into how a process is running? Save the version of the process you are working on. Circulate the process for pre-approvals before finalizing it. Prepare the process to be consumed by the visibility scenario. Purchase the visibility dashboard capabilities from the SAP store. 24. What is the correct sequence of steps when implementing Tenant-aware Persistence? Configure a data source • Configure Hibernate for multi-tenancy • Persisting and accessing the data • Tenant onboarding and offboarding Configure a data source • Configure Hibernate for multi-tenancy • Tenant onboarding and offboarding • Persisting and accessing the data Tenant onboarding and offboarding • Configure a data source • Configure Hibernate for multi-tenancy • Persisting and accessing the data Configure Hibernate for multi-tenancy • Configure a data source • Tenant onboarding and offboarding • Persisting and accessing the data . Which configuration steps are necessary to set process conditions in SAP Build Process Automation? Note: There are 3 correct answers to this question. Define If/Else criteria Map condition input to process content Add environment variables Define flow for different conditional paths Add a condition to the process. 26. What are tasks of the approuter? Note: There are 3 correct answers to this question. Routing requests from the web browser to the provider of the UI service. Routing requests from the application to the SAP Launchpad service. Authorizing users for the CAP service and the provider of the UI service. Routing requests from the web browser to the CAP service. Forwarding user requests to the XSUAA service for authentication and authorization. 27. How do you run a CI/CD build manually without pushing changes to Git? Select Deploy from the project's context menu in the Project Explorer Submit Changes via Sync & Share action Select "Trigger a Build' in the CI/CD job's context menu Create and run "Build task" in Task Explorer. 28. When creating a CI/CD job, what does defining Source Control Management (SCM) credentials enable? Retrieving your project from SCM when its build is triggered Managing your SCM credentials Modifying your project source code automatically. 29. Which of the following are features of Kubernetes? Note: There are 3 correct answers to this question. Immutability and self-healing Hardware virtualization Service Discovery and load balancing Operating system management Storage orchestration. 30. You want to implement an event handler to show a console log once a supplier record is read. What is the correct syntax to implement this? const cds = require('@sap/cds') module.exports = cds.service.impl(function () { const {Supplier) = this.entities() this after('each Supplier, row =>{ console.log("Read Supplier: ${row.ID}') }) const cds = require("@sap/cds') module.exports = cds.service.impl(function () { const {Supplier) = this.entities() this.on('each',Supplier, row =>{ output.log("Read Supplier: ${row.ID}") }) }) const cds = require('@sap/cds") module.exports = cds service.impl(function() { const {Supplier) = this.entities() this.on('each, Supplier, row => console.log("Read Supplier: ${row.ID}") }) const cds = require('@sap/cds') module.exports = cds.service.impl(function() { const {Supplier) = this.entities() this after('each Supplier, row => { output.log("Read Supplier: $[row.ID}") }) }) . 31. What can you define in the application router's design-time descriptor: xs-app.json? Note: There are 2 correct answers to this question. role-templates routes authenticationMethod modules . 32. Which identifier is used by the XSUAA service to distinguish applications and scopes? xsappname xs-security VCAP_SERVICES tenant-mode. 33. When would you choose SAP Fiori elements for app development? Note: There are 2 correct answers to this question. When standard floorplans are sufficient When unique floorplans are required When flexibility is more important than speed When speed is more important than flexibility. 34. After you create a business process in SAP Build Process Automation by giving it a name and identifier and clicking "Create," what can you add to it? Note: There are 3 correct answers to this question. Forms Decisions Packages Filters Automations. 35. You have deployed a workload through a Kubernetes Deployment to SAP BTP, Kyma runtime. What must you do to expose the workload to the public internet? Note: There are 3 correct answers to this question. Add a readiness probe for your workload. Create an API Rule CR. Add a custom Virtual Service CR to secure the service. Configure rules and accessStrategies. Create a service to group your pods. 36. Your company is using the SAP Authorization and Trust Management service in conjunction with the XSUAA service to authorize their applications. Where do you bundle your defined scopes in role- templates? In an xs-security.json fille In a role-collection In an instance of the XSUAA service. 37. You have set up the scopes and attributes that are needed to protect your application in the Cloud Foundry environment, but a user is unable to access your application. What might be the reason? Roles aren't assigned to the client application. Role collections aren't assigned to the user. Roles aren't assigned to the user. Role collections aren't assigned to the client application. 38. Which property of access control with @restrict accepts all standard CDS CRUD events, as well as action and function names? To On Where Grant. 39. What are some benefits of using Forms in SAP Build Process Automation? Note: There are 2 correct answers to this question. Streamline business process approvals easily Create documents for processes easily Create an interactive Ul easily Create and share email templates easily. 40. You have developed a CAP project and added the XSUAA security configuration. What information is stored in the xs-security.json file? Note: There are 2 correct answers to this question. role-templates users roles scopes. 41: To grant a user access to an application in an SAP BTP subaccount, what must you assign to this user? A role A role Collection A role Template. 42: What are the benefits of using Side-by-Side Extensibility? Note: There are 3 correct answers to this question. It can be implemented in the same software stack as the extended application. It integrates with other cloud/non-cloud solutions when using SAP Business Technology Platform Integration services. It uses a complete development platform for creating extension applications. It provides support for hybrid scenarios. It uses In-App tools to adapt the standard UI. 43: You want a service to react to a specific event. What can you specify as <phase> in the statement srv. <Phase> (<event>)? Note: There are 2 correct answers to this question. end begin after before. 44: You develop custom SAP S/4HANA side-by-side extensions. For which development objects can you enable OData services? Note: There are 2 correct answers to this question. SAP-delivered business objects Custom CDS views Custom forms Custom business objects. 45: Your customer presents you with the following Ul 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? Object page List report Analytical list page Worklist. 46: What are some benefits of using the Istio service mesh in SAP BTP, Kyma runtime? Note: There are 3 correct answers to this question. Traffic management between services can be controlled. Distributed tracing can be used to trace request flows. Networking is decoupled from the application logic. Mutual TLS is supported for service-to-service communication. Networking is coupled to the application logic. 47: 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 event receiver The webhook of your version control system The stages in the config.yml in the pipeline folder The stages of the failed job run. 48: What do you use to update the Git history of the local file you are working on? Save Commit Stage Check out. 49: How can you ensure that the value creation process continuously becomes safer and more resilient? Establish short and efficient feedback cycles. Develop tight software architectures. Optimize batch working style. Apply strict top-down software design. 50: What are key elements of reactive systems in the distributed environment of side-by-side extensions? Note: There are 2 correct answers to this question. Asynchronous interaction between a browser and a system Asynchronous message-driven communication between systems Loose coupling and isolation between systems Synchronous API communication between server and client. 51: Which of the following can be used to implement side-by-side extensions in the Cloud Foundry environment of SAP Business Technology Platform? Note: There are 2 correct answers to this question. ABAP Java Node js JS Action Script. 52: Which are characteristics of Continuous Delivery? Note: There are 3 correct answers to this question. No ambiguity in long term plans Fast recovery from defects Waterfall model Short release cycle High degree of automation. 53: According to SAP CAP best practices, which error types should you NOT catch? Note: There are 2 correct answers to this question. Programming errors Rejections of promises Runtime errors Unexpected errors. 54: During application development, what are some principles of dealing with application errors? Note: There are 2 correct answers to this question. Use try/catch blocks sparingly Hide errors and continue silently Use as many try/catch blocks as possible Log unexpected errors. 55: What must you do to pull a container image from a private registry? Note: There are 2 correct answers to this question. Create a secret with the type "kubernetes.io/dockerconfigjson". Create a secret with the type "Opaque". Provide credentials in the pod manifest via "imagePullSecrets" in spec.template.metadata.annotations". Provide credentials in the pod manifest via "imagePullSecrets" in spec.template.spec. 56: What are some characteristics of CAP event handling? Note: There are 2 correct answers to this question. You can register only one event handler for a specific event. You must use the handler registration API srv.emit (<event>) to de-register event handlers. You can register multiple event handlers for each event phase. You can register event handlers with instances of cds.service to add custom logic. 57: What are some of the capabilities of the SAP S/4HANA Virtual Data Model? Note: There are 2 correct answers to this question. It documents the relationships between entities. It allows direct access to underlying database tables. It provides a native UI to query the database tables. It enriches the entities with business semantics. 58: Which of the following are use cases for SAP Business Technology Platform? Note: There are 3 correct answers to this question. Integrate apps, data, and processes. Build innovative digital apps. Extend cloud and on-premise apps. Build tightly coupled applications. Supports only Cloud scenarios with seamless interoperability with hyperscalers. 59: You want to register custom event handlers using instances of CAP Node.js SDK classes. Which one do you use? cds.Service cds.Request cds.Event . 60: You develop an application using the Cloud Foundry environment. What are some steps to restrict access to this application? Note: There are 2 correct answers to this question. Set the Scopes element to the required scope name in the xs-app.json file. Set the role-name attribute of the Security-role element in the web.xml file to the required role template name. Define the role template name in the role-templates element of the xs-security.json file. Set the Scopes element to the required scope name in the xs-security.json file. 61: Which formats are supported by OData? Note: There are 2 correct answers to this question. JSON XML-based AtomPub YAML XHTML. 62: Which of the following are the fundamental guidelines of a twelve-factor application? Note: There are 3 correct answers to this question. Cache management Traceability and reproducibility of all changes Security management of software layers Stateless and self-contained application processes Separation of application code and runtime configuration. 63: What are some characteristics of logic flows? Note: There are 3 correct answers to this question. They are a sequence of events, actions, and functions They can be used to customize any kind of behavior in an app They first need to be modelled in Excel to ensure there is a result They always require a decision loop They can be simple or branching. 64: What are some scenarios where you would use the SAP Cloud SDK in your application? Note: There are 2 correct answers to this question. You want to allow key users to create fields You need advanced features in your app such as resilience and caching You want to add new features to an existing Java application You want to build extensions using .NET. 65: Why are extensions on top of SAP S/4HANA Cloud NOT affected by the quarterly update cycle of SAP S/4HANA Cloud? The Virtual Data Model of SAP S/4HANA Cloud remains unchanged. The extension application runs only on SAP Business Technology Platform. The public interfaces of SAP S/4HANA represent a stable contract across the versions of SAP S/4HANA Cloud. SAP provides maintenance agreements to fix any extension issues. 66: What are some prerequisites for functions to receive events from Kyma Eventing? Note: There are 2 correct answers to this question. An API Rule with Oathkeeper AccessRules for GET-Requests The request to the function contains the event context A Subscription CR. A CloudEvents specification. 67: What feature of the pre-built content packages in SAP Build Process Automation increases the speed of development? Note: There are 2 correct answers to this question. Templated automations Predetermined decisions Enhanced user interface Plug-and-play availability. 68: You want to create a new service definition in your CAP project. In which folder do you place the service definition .cds file? /root /srv /app Oldb . 69: What are some principles of continuous integration? Note: There are 2 correct answers to this question. Automated tests Automated deployment to the productive system Automated builds Automated code change pushes. 70: 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 created? Note: There are 2 correct answers to this question. file manifest.yml file package.json folder /approuter folder /app . 71: Using the Cloud Events specification, which component must you use to post events to Kyma Eventing? svc/eventing-nats service/eventing-event-publisher-proxy pods/eventing-nats-0 pod/eventing-event-publisher-proxy. 72: In SAP Fiori, how are drafts used? Note: There are 2 correct answers to this question. To prevent data loss in case an app terminates unexpectedly To enable empty states of apps To enable responsiveness of apps To prevent an object being edited by multiple users concurrently. 73: Into which environment does the Test step in a CI/CD job allow you to deploy your application? Mobile Services Private server Local workspace Cloud Foundry. 74: What is mandatory when working on public Git in a distributed environment? Connect to a central repository to share your project contribution. Keep the entire history of your project locally. Block the piece of code you are working on in the central repository. Buy the software license on the Git website. 75: For which workload requirements would you use Stateful Set? Note: There are 3 correct answers to this question. Ordered, graceful deployment and scaling Stable, unique network identifiers Stable, persistent storage Ordered network identifiers Ordered, persistent storage. 76: 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? Note: There are 2 correct answers to this question. A file named Jenkinsfile A pipeline folder with a config.yml file A Jenkins folder with a manifest.yml file A pipeline folder with a manifest.yml file. 77: What is one of the required steps to enable authentication support in CAP? Install a CDS module called passport. Install a YAML module called passport. Install a package.json module called passport. Install a Node.js module called passport. 78: 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? Note: There are 2 correct answers to this question. A secret A password A user A content type. 79: What is a rule of thumb for when to use namespaces in your models? When your app rarely exposes services When your models are reused in other projects When your model names are unique. 80: Which of the following are parts of the architecture of the SAP BTP Service Operator for Kubernetes? Note: There are 2 correct answers to this question. API server Service broker Storage system kubelet. |
Report abuse