Exam4Training

SAP C_HCDEV_01 SAP Certified Development Associate – SAP HANA Cloud 1.0 Online Training

Question #1

Which actions are executed in Cloud Foundry under the Deploy & Execute phase when you run an application? Note: There are 3 correct answers to this question.

  • A . Copy the application image to the BLOB store.
  • B . Release the application and provide the metadata information.
  • C . Execute service wiring to dependent services.
  • D . Download required libraries/dependencies.
  • E . Start a new container with the application image.

Reveal Solution Hide Solution

Correct Answer: B,C,E
Question #2

Which request headers values are passed when the scheduler invokes the endpoint? Note: There are 2 correct answers to this question.

  • A . req.headers.connection
  • B . x-sap-job-id
  • C . req.headers.authorization
  • D . x-sap-job-schedule-id

Reveal Solution Hide Solution

Correct Answer: B,D
Question #3

You are asked to develop a UI application that can be used by a global audience.

Which UI5 features can support this requirement? Note: There are 3 correct answers to this question.

  • A . Role-based app experience
  • B . Easy adoption for different devices
  • C . Translation and internationalization
  • D . Extensibility concepts at code and application level
  • E . High contrast theme to aid visually impaired users

Reveal Solution Hide Solution

Correct Answer: C,D,E
Question #4

Which feature of domain modeling can you use to model document structures through contained- in relationships?

  • A . Associations
  • B . Entities
  • C . Namespace
  • D . Compositions

Reveal Solution Hide Solution

Correct Answer: D
Question #5

What does the service document of an OData service list? Note: There are 3 correct answers to this question.

  • A . Singletons
  • B . Entity sets
  • C . Functions
  • D . Actions
  • E . Types

Reveal Solution Hide Solution

Correct Answer: B,C,E
Question #6

Which components are part of SAP HANA Cloud? Note: There are 3 correct answers to this question.

  • A . SAP Adaptive Server Enterprise
  • B . SAP Enterprise Architecture Designer
  • C . SAP Analytics Cloud
  • D . SAP HANA database
  • E . Data lake

Reveal Solution Hide Solution

Correct Answer: A,D,E
Question #7

On which Core Data Services (CDS) element can you define a security restriction in the

SAP Cloud Application Programming Model? Note: There are 3 correct answers to this question.

  • A . Services
  • B . Associations
  • C . Actions
  • D . Functions
  • E . Types

Reveal Solution Hide Solution

Correct Answer: A,C,D
Question #8

What is the correct syntax to use common types for model reuse?

  • A . using { Country } using ‘@sap/cds/common’;entity Addresses {town : String;country :
    Country;}
  • B . using { Country } extract from ‘@sap/cds/common’;entity Addresses { town : String;
    country
    :Country; }
  • C . using { Country } from ‘@sap/cds/common’;entity Addresses { town : String; country :
    Country;
    }
  • D . using { Country } in ‘@sap/cds/common’;entity Addresses {town : String;country :
    Country; }

Reveal Solution Hide Solution

Correct Answer: C
Question #9

You have to create an association between Books and Authors entities using Core Data Services (CDS).

Which syntax is applicable?

  • A . entity Books { key ID : Integer; title : String; author : Association to Authors;} Authors {
    key ID : Integer;name : String;}
  • B . entity Books {key ID : Integer;title : String; author : Association to Authors;entity Authors
    {key ID : Integer; name : String;}}
  • C . entity Books {key ID : Integer; title : String; author : Association to entity Authors { key ID
    : Integer;name : String;} ;}
  • D . entity Books { key ID : Integer; title : String; author : Association to Authors;}entity
    Authors { key ID : Integer;name : String;}

Reveal Solution Hide Solution

Correct Answer: D
Question #10

You are debugging a procedure and you want to do the following: Delete all breakpoints. Run the program to the end.Do NOT plan any further debugging activity.

What is the sequence of steps you should follow?

  • A . (a)Remove all breakpoints in the debugger pane.(b)Detach the debugger from the running application.(c)Resume module execution.
  • B . (a)Detach the debugger from the running application.(b)Remove all breakpoints in the debugger pane.(c)Resume module execution.
  • C . (a)Detach the debugger from the running application.(b)Resume module execution.(c)Remove all breakpoints in the debugger pane.
  • D . (a)Remove all breakpoints in the debugger pane.(b)Resume module execution.(c)Detach the debugger from the running application.

Reveal Solution Hide Solution

Correct Answer: A

Question #11

Which tasks does the User Account and Authentication (XSUAA) service accomplish? Note: There are 3 correct answers to this question.

  • A . It dispatches requests to microservices.
  • B . It identifies the user by e-mail or user ID.
  • C . It decides if a user is allowed to perform an activity.
  • D . It assigns the principals to a user session.
  • E . It stores the real users’ identities.

Reveal Solution Hide Solution

Correct Answer: A,B,C
Question #12

In the Run Configurations view, you can see the available dependencies as defined in the package.json file.

To which of the following can you bind or unbind these dependencies? Note: There are 3 correct answers to this question.

  • A . User-provided service
  • B . SAP HANA Cloud database
  • C . Local database
  • D . External OData service
  • E . SAP Job Scheduling service

Reveal Solution Hide Solution

Correct Answer: B,C,D
Question #13

Which Node.js module do you use to run an SQL statement against the SAP HANA database?

  • A . @sap/xssec
  • B . @sap/xsenv
  • C . @sap/hdbext
  • D . @sap/hdi

Reveal Solution Hide Solution

Correct Answer: C
Question #14

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?

  • A . 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}`)})})
  • B . 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}`)})})
  • C . 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}`)})})
  • D . 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}`) })})

Reveal Solution Hide Solution

Correct Answer: C
Question #15

You are using Core Data Services (CDS) to define the persistence layer in SAP Business Application Studio.

Which folder of the project do you use to create the design time files?

  • A . srv
  • B . db
  • C . src
  • D . web

Reveal Solution Hide Solution

Correct Answer: C
Question #16

What can you use for Core Data Services (CDS)-based security in the SAP Cloud Application Programming Model? Note: There are 2 correct answers to this question.

  • A . Scopes
  • B . Privileges
  • C . Authorizations
  • D . Roles

Reveal Solution Hide Solution

Correct Answer: C,D
Question #17

How can domain experts and developers collaborate to focus on domain problems using the SAP Cloud Application Programming Model? Note: There are 2 correct answers to this question.

  • A . By maximizing boilerplate code to real custom logic
  • B . By fueling generic runtimes to serve recurring tasks automatically
  • C . By declaratively capturing domain knowledge in CDS models
  • D . By integrating the data with other SAP systems

Reveal Solution Hide Solution

Correct Answer: B,C
Question #18

You are using Git from switch view in SAP Business Application Studio and have staged a file after modifications.

What is the status of the file?

  • A . Deleted(D)
  • B . Modified(M)
  • C . Copied(C)
  • D . New(A)

Reveal Solution Hide Solution

Correct Answer: B
Question #19

What is the sequence of steps to debug a procedure?

  • A . Select the procedure to be debugged from the Database Explorer.Open the procedure for debugging and set the breakpoint.Open the debug panel and link the debugger to a session.Execute the procedure.
  • B . Open the debug panel and link the debugger to a session.Select the procedure to be debugged from the Database Explorer.Open the procedure for debugging and set the breakpoint.Execute the procedure.
  • C . Open the procedure for debugging and set the breakpoint.Open the debug panel and link the debugger to a session. Select the procedure to be debugged from the Database Explorer.Execute the procedure.
  • D . Select the procedure to be debugged from the Database Explorer.Open the debug panel and link the debugger to a session.Open the procedure for debugging and set the breakpoint.Execute the procedure.

Reveal Solution Hide Solution

Correct Answer: B
Question #20

Which sequence of steps do you follow when working with files locally in Git in SAP Business Application Studio?

  • A . (a)Check out (b)Create, modify, save(c)Stage(d)Commit(e)Stage
  • B . (a)Create, modify, save(b)Check out(c)Commit(d)Stage
  • C . (a)Create, modify, save(b)Commit (c)Check out
  • D . (a)Create, modify, save(b)Stage(c)Check out (e)Commit

Reveal Solution Hide Solution

Correct Answer: A

Question #21

What are the properties of access control with @restrict? Note: There are 3 correct answers to this question.

  • A . read
  • B . grant
  • C . to
  • D . delete
  • E . where

Reveal Solution Hide Solution

Correct Answer: A,B,D
Question #22

What can you set in a package.json file to configure a Multi-Target Application (MTA) project? Note: There are 2 correct answers to this question.

  • A . The version
  • B . The service name
  • C . The schema version
  • D . The options of the deploy program

Reveal Solution Hide Solution

Correct Answer: A,B
Question #23

What can you specify as <phase> in the statement srv.<phase>(<event>)? Note: There are 2 correct answers to this question.

  • A . end
  • B . before
  • C . after
  • D . begin

Reveal Solution Hide Solution

Correct Answer: B,C
Question #24

What are some best practices for Domain Modeling? Note: There are 3 correct answers to this question.

  • A . Use plural form for types.
  • B . Start elements with lowercase letters.
  • C . Start entity and type name with lowercase letters.
  • D . Use plural form for entities.
  • E . Start entity and type name with uppercase letters.

Reveal Solution Hide Solution

Correct Answer: B,C,D
Question #25

How do you control the flow of logic when using SQLScript? Note: There are 3 correct answers to this question.

  • A . By using WHILE loops
  • B . By branching logic based on some conditions
  • C . By using SELECT statements
  • D . By manipulating scalar variables
  • E . By using GRANT or REVOKE statements

Reveal Solution Hide Solution

Correct Answer: A,B,C
Question #26

Which of the following elements are part of the SAPUI5 application’s index.html file? Note: There are 2 correct answers to this question.

  • A . Bootstrap
  • B . Service layer
  • C . UI area
  • D . Database

Reveal Solution Hide Solution

Correct Answer: A,C
Question #27

Why would you create a calculation view?

  • A . To define a function that can be consumed by SQL
  • B . To define data distribution rules
  • C . To store layers of pre-aggregated results
  • D . To define a virtual modeling layer on top of tables

Reveal Solution Hide Solution

Correct Answer: D
Question #28

What is the SAP Business Application Studio user interface made up of?

  • A . Tiles
  • B . Frames
  • C . Windows
  • D . Views

Reveal Solution Hide Solution

Correct Answer: D
Question #29

Which of the following deployment option of persistence models offer quick development and test cycles?

  • A . Global
  • B . Local
  • C . Virtual
  • D . Persistence

Reveal Solution Hide Solution

Correct Answer: B
Question #30

What properties can you set in the procedure header when developing a procedure? Note: There are 3 correct answers to this question.

  • A . Begin/end statements
  • B . Language (SQLScript/R)
  • C . Read/write access
  • D . Expression
  • E . Security (invoker/definer)

Reveal Solution Hide Solution

Correct Answer: A,B,E
Exit mobile version