nerdexam
SAP

C_CPE_2409 · Question #29

In CAP, which file is used to define destinations for connecting to external services? Note: There are 2 correct answers to this question.

The correct answer is A. destinations.json D. package.json. In CAP (SAP Cloud Application Programming Model), destinations.json is used to define destinations locally for development and testing, while package.json is the primary application configuration file where destinations are declared under the cds.requires section to connect to…

CAP Project Setup and Configuration

Question

In CAP, which file is used to define destinations for connecting to external services? Note: There are 2 correct answers to this question.

Options

  • Adestinations.json
  • Bmanifest.json
  • Cservices.xml
  • Dpackage.json

How the community answered

(19 responses)
  • A
    84% (16)
  • B
    11% (2)
  • C
    5% (1)

Explanation

In CAP (SAP Cloud Application Programming Model), destinations.json is used to define destinations locally for development and testing, while package.json is the primary application configuration file where destinations are declared under the cds.requires section to connect to external services in both development and production scenarios.

Why distractors are wrong:

  • B. manifest.json - This is associated with Cloud Foundry deployment descriptors (or web app manifests), not CAP destination configuration.
  • C. services.xml - This is not a standard file in the CAP framework at all.

Memory tip: Think "D-P" = Destinations-Package - the two files that define where your app goes (destinations) both start with letters in the phrase "Destination Package." Alternatively, remember: destinations.json is for local dev, package.json is for everywhere.

Topics

#CAP#destinations#external services#configuration files

Community Discussion

No community discussion yet for this question.

Full C_CPE_2409 Practice