1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
qwelly [4]
3 years ago
10

Universal Containers (UC) has a requirement to expose a web service to their business partners. The web service will be used to

allow each business partner to query UC's Salesforce instance to retrieve the status of orders. The business partner should only be allowed access to orders for which the business partner is the fulfillment vendor. The Architect does not want the business partners to utilize the standard APIs and would prefer a custom API be developed. Which three design elements should the Architect consider in order to ensure the data security of the solution?
Engineering
1 answer:
ivanzaharov [21]3 years ago
3 0

Answer:

"- Set the Orders object's sharing settings to Private in the Org-Wide Defaults

_Provide each partner with their own Salesforce login set to API Enabled on the profile

-Develop a custom Apex web service using the "With Sharing" keyword"

Explanation:

<em>Universal Containers (UC) has a requirement to expose a web service to their business partners. The web service will be used to allow each business partner to query UC's Salesforce instance to retrieve the status of orders. The business partner should only be allowed access to orders for which the business partner is the fulfillment vendor. The Architect does not want the business partners to utilize the standard APIs and would prefer a custom API be developed. Which three design elements should the Architect consider in order to ensure the data security of the solution?</em>

<em>A. Query the Orders object with Dynamic SOQL based upon the fulfillment ID. </em>

<em>B. Set the Orders object's sharing settings to Private in the Org-Wide Defaults </em>

<em>C. Provide each partner with their own Salesforce login set to API Enabled on the profile.  </em>

<em>D. Develop a custom Apex web service with a fulfillment ID input attribute </em>

<em>E. Develop a custom Apex web service using the "With Sharing" keyword.</em>

<em />

<em>The above should be a follow up option to the question</em>

The Architect should consider the following design

"- Set the Orders object's sharing settings to Private in the Org-Wide Defaults

_Provide each partner with their own Salesforce login set to API Enabled on the profile

-Develop a custom Apex web service using the "With Sharing" keyword"

 There is need for some sharing rule between the architect and the user

You might be interested in
Consider a system having p processes, where each process needs a maximum of m instances of resource type R1. Given that there ar
Genrish500 [490]

Answer:

Consider a system consisting of 4 resources of same type that are share by 3 processes each of which needs at most two resources.Now we will show that the system is deadlock free.

If the system is deadlocked, it implies that each process is holding one resource and is waiting for one more. Since there are 3 processes and 4 resources, one process must be able to obtain two resources. This process requires no more resources and therefore it will return its resources when done.

Consider a system with m resources of same type being shared by n processes. Resources can be requested and released by processes only on at a time. The system is deadlock free if and only if The sum of all max needs is < m+n .

We can understand the notion of a deadlock from the following simple real-life example.To be able to write a letter one needs a letter pad and a pen. Suppose there in one letterpad and one pen on a table with two persons seated around the table. We shall identify these two persons as Mr. A and Ms. B. Both Mr. A and Ms. B are desirous of writing a letter. So both try to acquire the resources they need. Suppose Mr. A was able to get the letter pad. In the meantime, Ms. B was able to grab the pen. Note that each of them has one of the two resources they need to proceed to write a letter. If they hold on to the resource they possess and await the release of the resource by the other, then neither of them can proceed. They are deadlocked. We can transcribe this example for processes seeking resources to proceed with their execution. Consider an example in which process P1 needs three resources r1 ; r2, and r3 before it can make any further progress. Similarly, process P2 needs two resources r2 and r3 Also, let us assume that these resources are such that once granted, the permission to use is not withdrawn till the processes release these resources. The processes proceed to acquire these resources. Suppose process P1 gets resources r1 and r3 and process P2 is able to get resource r2 only. Now we have a situation in which process P1 is waiting for process P2 to release r2 before it can proceed. Similarly, process P2is waiting for process P1 to release resource r3 before it can proceed. Clearly, this situation can be recognized as a deadlock condition as neither process P1 nor process P2 can make progress. Formally, a deadlock is a condition that may involve two or more processes in a state such that each is waiting for release of a resource which is currently held by some other process.

5 0
3 years ago
Why are dynamic heads greater than static heads?
Shtirlitz [24]

Answer:

4. Because they include the static heads plus the friction

7 0
4 years ago
Which of the following is a way to heat or cool a building without using electricity or another power source?
zzz [600]
I believe the answer is: A. Passive heating and cooling.
8 0
3 years ago
Read 2 more answers
Air enters an adiabatic compressor through 0:5m2 opening and exhausts through a 0:2m2 opening. The inlet conditions of air are 2
gladu [14]

Answer:

i) 43.55 kg/s

ii) 40 m/s

iii)  -199.32 KW

Explanation:

To resolve the above question we have to make some assumptions :

  • mass flow  through the system is constant
  • The only interactions that are between the system and the surrounding are work and heat
  • The fluid is uniform

i) first we have to determine the mass flow rate of the air

M = (\frac{P1}{RT1} )A1v1

    = ( \frac{200}{0.287*325} ) 0.5 * V1 ---------- (1) hence  M = 43.55 kg/s

ii) using this relationship : A1V1 = A2V2 hence V1 = (0.2/0.5) * 100 = 40m/s (    inlet velocity )

input this value into equation 1

iii) Next we will determine the power required to run compressor

attached below

power required = -199.32 KW ( this value indicates that there is power supplied )

8 0
3 years ago
Consider a Carnot refrigeration cycle executed in a closed system in the saturated liquid–vapor mixture region using 1.06 kg of
Alexxandr [17]

Answer:

P_m_i_n = 442KPA

Explanation:

We are given:

m = 1.06Kg

T_H = 1.2T_L

T = 22kj

Therefore we need to find coefficient performance or the cycle

COP_R = \frac {1}{(T_R/T_l) -1}

= \frac {1 }{1.2-1}

= 5

For the amount of heat absorbed:

Q_l = COP_R Wm

= 5 × 22 = 110KJ

For the amount of heat rejected:

Q_H = Q_L + W_m

= 110 + 22 = 132KJ

[tex[ q_H = \frac{Q_L}{m} [/tex];

= = \frac{132}{1.06}

= 124.5KJ

Using refrigerant table at hfg = 124.5KJ/Kg we have 69.5°c

Convert 69.5°c to K we have 342.5K

To find the minimum temperature:

T_L = \frac{T_H}{1.2};

T_L = \frac{342.5}{1.2}

= 285.4K

Convert to °C we have 12.4°C

From the refrigerant R -134a table at T_L = 12.4°c we have 442KPa

6 0
3 years ago
Other questions:
  • A buret is a device designed to precisely dispense liquids. The scale is calibrated in mL with the zero point at the top with nu
    6·1 answer
  • Calibrations on a recent version of an operating system showed that on the client side, there is a delay of at least 0.5 ms for
    13·1 answer
  • What will the following segment of code output? score = 95; if (score &gt; 95) cout &lt;&lt; "Congratulations!\n"; cout &lt;&lt;
    9·1 answer
  • Ayo, how do I change my username on here?
    6·1 answer
  • 7. __________ is also known as coolant and is found in liquid-cooled engines.
    11·2 answers
  • A thick oak wall initially at 25°C is suddenly exposed to gases for which T =800°C and h =20 W/m2.K. Answer the following questi
    5·1 answer
  • At a certain section in a pipeline, a reducer is used to reduce the diameter from 2D gradually to diameter D. When an incompress
    12·1 answer
  • Engineers design products or processes to meet desired needs. Your desired need or goal (hopefully) is to graduate with your Bac
    5·1 answer
  • what is a home that has its own roof, foundation, and a wall that extends from the roof through the foundation
    6·1 answer
  • What is a primary concern for residential sprinkler systems installed according to nfpa?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!