nerdexam
Oracle

1Z0-339 · Question #39

The customer wants to extend one of their IT mobile applications. They are trying to pull out service account passwords through a REST API; however, they can't get that information. These are the…

The correct answer is A. CatalogSearchCriteria tags = new CatalogSearchCriteria. Explanation/Reference: A company created a Catalog with items tagged with one or more of the following categories using the custom tags metadata attribute: Enterprise, Department, Team, and Project. Select the option showing the code that builds the right CatalogSearchCriteria…

Connectors and Integrations

Question

The customer wants to extend one of their IT mobile applications. They are trying to pull out service account passwords through a REST API; however, they can't get that information. These are the configuration parameters:

URI: https://opam_server_host:opam_ssl_port/opam/target/{targetUID}/ showpassword Method: PUT Content-Type: application/json Body: NA What is the reason for this issue?

Options

  • ACatalogSearchCriteria tags = new CatalogSearchCriteria
  • BCatalogsearchcriteria scrt. = new CatalogsearchCriteria (Catalogsearchcriteria.Argument.CATEGORY,
  • CCatalogSearchCriteria scrt = new CatalogSearchCriteria
  • DCatalogSearchCriteria tags = new CatalogSearchCriteria

How the community answered

(70 responses)
  • A
    74% (52)
  • B
    13% (9)
  • C
    9% (6)
  • D
    4% (3)

Explanation

Explanation/Reference: A company created a Catalog with items tagged with one or more of the following categories using the custom tags metadata attribute: Enterprise, Department, Team, and Project. Select the option showing the code that builds the right CatalogSearchCriteria for a search that will correctly populate the Catalog search results with the list of Entitlements tagged with a selected category. Only Entitlements must be displayed. (Catalogsaarchcriteria.Argument.TAG, selectedcategory, CatalogSearchCriteria.Operator.EQUAL); CatalogSearchCriteria cat = new CatalogSearchCriteria (CatalogSearchCriteria.Argument.CATEGORY, "Entitlement", CatalogSearchCriteria.Operator.EQUAL); CatalogSearchCriteria scrt = new CatalogSearchCriteria (tags,cat, CatalogSearchCriteria.Operator.AND); "Entitlement", CatalogSearchCritetia. Operator.EQUAL); (CatalogSearchCriteria.Argument.TAG, selectedCategory, CatalogSearchCriteria. Operator. EQUAL); (CatalogSearchCriteria.Argument. TAG, selectedcategory, CatalogSearchCriteria.Operator.EQUAL); CatalogSearchCriteria cat = new CatalogSearchCriteria (CatalogSearchCriteria. Argument. CATEGORY, "Entitlement", CatalogSearchCriteria.Operator.EQUAL); CatalogSearchCriteria scrt = new CatalogSearchCriteria (tags, cat, CatalogSearchCriteria.Operator.OR); Explanation/Reference:

Topics

#OPAM#REST API#service account password#showpassword endpoint

Community Discussion

No community discussion yet for this question.

Full 1Z0-339 Practice