YouTube Icon

Interview Questions.

SOA Interview Questions and Answers - Jul 16, 2022

fluid

SOA Interview Questions and Answers

Q1. What is SOA?

Ans: Service Oriented Architecture (SOA) is used to broaden Enterprise programs by using using a group of offerings which communicates each different. Service-Oriented Architecture (SOA) is a fixed of standards and methodologies for designing and developing software program in the form of inter operable offerings.

Q2. What is the SOA Suite 11g Components?

Ans:

 Oracle Adapters

 Oracle Mediator

 Business Events and Events Delivery Network

 Oracle Business Rules

 Human Workflow

 Oracle Business Activity Monitoring

 Oracle Enterprise Manager

Q3. What are the one of a kind layout styles in SOA?

Ans:

 Synchronous

 Asynchronous Fire and Forget

 Asynchronous Delayed Response.

Q4. Enlist the Principles of SOA?

Ans:

1. Loose coupling

2. Re-usability

three. Interoperability

four. Flexible

Q5. What is singleton Property in SOA?

Ans: In the clustered surroundings when the processing of the message should show up thru best one SOA controlled server, then the assets singleton needs to be defined at the adapter stage.

Q6. What is SCA?

Ans: Service Component Architecture (SCA) gives a programming version for constructing applications and systems primarily based on a Service Oriented Architecture. SCA is a version that goals to encompass a wide variety of technologies for provider components and for the get right of entry to techniques which can be used to connect them.

Q7. What is SOA governance? What are its features?

Ans: Service-Oriented Architecture (SOA) governance is a concept used for activities associated with exercise manage over services in an SOA Some key activities which are regularly mentioned as being a part of SOA governance are:

Managing the portfolio of services: This includes making plans improvement of new services and updating current offerings.

Managing the carrier lifecycle: This is supposed to ensure that updates of offerings do not disturb present day services to the purchasers. Using guidelines to restrict behavior: Consistency of services may be ensured by having the regulations carried out to all of the created offerings. Monitoring performance of services: The results of service downtime or underperformance may be severe due to service composition. Therefore action may be taken immediately whilst a problem happens by means of tracking provider performance and availability.

Q8. What is the distinction between 10g and 11g?

Ans: SCA structure become accompanied in 11g and not in 10g

In 11g you can put all your venture SOA components in composite.Xml document and set up as a unmarried deployment unit to unmarried server, where in 10g you need to set up each factor to the respective server (i.E. ESB to ESB server, BPEL to BPEL Server)

Basically all the SOA components like BPEL, ESB (Called Mediator in 11g), & OWSM are added into one area in 11g the usage of SCA composite idea.

The important distinction among 10g & 11g would be the app server field. 10g by default runs onOC4J whilst 11g runs on Web good judgment Server.

In 10g each BPEL is a separate venture, but in 11g numerous additives could make 1 challenge as SCA.

In 10g consoles are separate for BPEL and ESB, but in 11g Enterprise Manager includes all.

In 10g BAM and enterprise policies are out of doors SOA Suite, however in 11g they're in SOA Suite.

Q9. Is Oracle SOA same as Oracle Fusion Middleware?

Ans: No due to the fact SOA is one of the parts in Fusion middleware and SOA behaves like consumer interface in which as Fusion is big platform

Q10. What is choreography? How does it fluctuate from orchestration?

Ans: In choreography there is no enterprise method to govern the mixing between the structures; every device will immediately integrate with each other in series in which as in Orchestration there may be a business procedure which controls all the offerings (source/Target) that is part of the combination.

Q11. In how many approaches can a method be deployed?

Ans:

Using Jdeveloper

Through Enterprise Manger Console

Through Weblogic Scripts.

HubSpot Video
 

Q12. What is give up point virtualization?

Ans: Generally a carrier bus is used for endpoint virtualization and in 11g stack; Oracle Service Bus (OSB) is the number one service bus. In exposed proxy’s message glide, it can path the request to any of your environment’s actual (physical) provider on the basis of anything good judgment.

Mediator also can be used to reveal the carrier and in mediator routing rule, it could be routed to real service.

Q13. What is MDS?

Ans: MDS –Metadata Store

Wsdl and Schemas for use in the method may be published to the MDS and get it used inside the code by referring the artifacts from the MDS

Advantages:

1. JAR (Deployment unit) size might be reduced.

2. Duplication of the artifacts may be averted among the offerings.

Q14. What is Dehydration store?

Ans: Dehydration shop is the database in which the times get stored while it gets dehydrated by means of the system on the occurrence of non-idempotent sports and also stores the statistics on the long jogging techniques.

Q15. What is Decision service?

Ans: Oracle SOA Suite gives guide for Decision components that assist Oracle Business Rules. A Decision aspect is a mechanism for publishing guidelines and rule sets as a reusable provider that can be invoked from a couple of commercial enterprise processes. These rules can be modified with out redeploying the code.

Q16. What are DVM’s and the way are they useful in SOA?

Ans: DVM-Domain Value Map is static mappings among a supply and target machine which can be utilized in differences. The price can be changed thru SOA composer.

Q17. What is the distinction between XREF and DVM?

Ans: XREF- It is dynamic for the reason that values to the XREF can be populated dynamically and it's miles stored in XREF_DATA table in SOA Dehydration keep.

DVM- Domain Value Map is static mappings between a supply and goal machine which can be utilized in transformations.

Q18. How to boom the transaction timeouts in SOA?

Ans: For the transaction timeout wishes to be extended, all of the below settings timeout cost wishes to be changed to the anticipated Timeout fee.

1. JTA

2. Engine Bean

three. Delivery Bean

Q19. Is it viable to use MS SQL Server as dehydration save with SOA Suite ?If yes how?

Ans: Yes it's miles viable.

To mechanically maintain long-going for walks asynchronous tactics and their current country facts in a database whilst they await asynchronous callbacks, you use a database as a dehydration save. Storing the method in a database preserves the method and stops any loss of kingdom or reliability if a system shuts down or a community trouble happens. This feature increases each BPEL method reliability and scalability. You can also use it to aid clustering and failover.

Q20. Why we use BPEL and OSB?

Ans: OSB is the mild-weight provider bus wherever there is not an awful lot business good judgment entails and there's want to simply get the message routed among the systems OSB is used wherein as whilst there may be greater enterprise good judgment entails in the process, then BPEL will be used.

Q21. What is a XA records source? How it differs from a non-XA statistics supply?

An XA transaction involves a coordinating transaction manager, with one or extra databases (or other sources, like JMS) all concerned in a unmarried worldwide transaction. Non-XA transactions don't have any transaction coordinator, and a unmarried resource is doing all its transaction paintings itself (this is sometimes called nearby transactions).

Q22. How can we comfortable our net offerings the usage of Oracle SOA Suite?

Ans: When having access to the services have to be constrained to the group,then provider should be secured thru WSM (Web service Manager).

Q23. How to deploy an XSL report without deployment of BPEL Process?

Ans: We will immediately set up the XSLT, alternatives: –

1. Using ANT script with the aid of file alternative in TMP folder.

2. By developing a folder in BPEL PM Installation folder and specifying its vicinity in our BPEL code with http call and replacing our xslt to that region.

Q24. What is HA File and FTP Adapters?

Ans: In the clustered environment, File and FTP adapters should be used as HA (High-Availability)

Inbound: It is controlled by means of Control Files and avoids the race between the manages servers in analyzing the documents in which the reference of the documents read through the controlled servers might be maintained in the control listing.

Outbound: It is controlled by DB Mutex desk exist inside the SOA dehydration save and this avoids duplicated been written to the identical record when all of the managed servers inside the clusters technique the equal messages.

Q25. What is a pick pastime? Can I even have a select hobby without a onMessage branch?

Ans: Pick interest choices the messages from service (Source) which has a couple of operations or the BPEL technique wishes to acquire the messages from multiple source device. Pick interest need to have at the least on Message branch.

Q26. What is a drift activity? What is a flowN pastime and how does it leverages the float pastime?

Ans: Flow pastime is used, whilst parallel execution of the float is needed and to apply this belongings “non blocking off invoke should be set as actual “at the partner hyperlink level and no. Of execution of parallel waft is described and static. Where as in Flown the no. Of execution of parallel glide is not static and it's miles decided at some stage in run time.

Q27. What do you mean by way of non-idempotent pastime? Which all sports are non-idempotent via default?

Ans: Activities like Pick, Wait, get hold of, reply and checkpoint() are called non-Idempotent pastime and at some point of the execution of the technique every time these activities are encountered then it gets dehydrated to the dehydration shop.

Q28. What are dspMaxThread and recieverThread houses? Why are they crucial?

Ans: Receiver Threads assets specifies the most range of MDBs that process Async across all domains. Whereas the dspMaxThread are the maximum quantity of MDBs that process Async and threads that function across a site. So, we need to ensure that the dspMaxThread value isn't greater than Receiver Threads.

Q29. When u will pass for Sync technique?

Ans: Whenever the services returns the response in few seconds, it's miles encouraged to move for synchronous BPEL procedure if not the BPEL system need to be Asynchronous the reason is calling utility can’t continue similarly in case of synchronous method.

Q30. What is a syncFileRead operation? Is a inbound or a outbound operation? Can my procedure start with syncFileRead operation?

Ans: When report has to be examine inside the mid of the BPEL system, then we are able to use syncFileRead Operation, means a few manner need to initiate the document examine manner and it is an outbound operation and system can’t start with Sync File read.

Q31. Can we use a File Adapter to get a record without analyzing its content?

Ans: Yes, by way of selecting the Do no longer read report content test field in the Jdeveloper wizard while configuring the “Read operation.”

Q32. How can we embed or use a java code in BPEL?

Ans: Using JAVA embedding pastime in BPEL, Java code can be embedded in BPEL and may be used.

Q33. What is a nonBlockingAll property?

Ans: Non- blocking off invoke is used whilst Parallel glide wishes to be done wherein new thread can be created for each invoke a activity and on the way to execute concurrently.

Q34. What is getPreference property? How will we set it and what gain it presents?

Ans: Hard coding isn't an amazing exercise, so to avoid tough coding desire variable can be used and the value of the choice variable is accessed the use of getPreference().The preference variable fee may be changed without re-deploying the code via em console MBean belongings.

Q35. How can we improve the overall performance of an XSL record?

Ans: By averting use of various if statements and using pick out and by using using for-every group in region of for-each.

Q36. How do we deal with transactions in BPEL?

Ans: Property needs to be defined to start the new transaction or to keep with the equal transactions

Property Name: Transaction and if this has cost as required then the BPEL system could be persevered within the identical transaction where as if the price is described as requiresnew then it will start the brand new transaction.

Q37. What are temporary and durable BPEL tactics?

Ans: Durable:-It is lengthy strolling system and initiated through a one-way invocation and do incur one or extra dehydration points inside the database for the duration of execution Ex: Asynchronous

Transient:-It is brief-lived system, request-response style strategies and do now not incur dehydration at some stage in their method execution Ex: Synchronous.

Q38. How does select hobby differ from a get hold of activity?

Ans: Pick pastime can act as a more than one acquire hobby in some business eventualities. If we've two inbound operations and both can cause the bpel method then we can go along with choose hobby as we can’t have  receive interest with create Instance container checked.

Q39. How are we able to make a accomplice hyperlink dynamic?

Ans: If we must ship the request to unique service which has the equal wsdl then dynamic associate hyperlink could be used and the use of addressing schema we will set the endpoint dynamic to send the request to the desired carrier.

Q40. How does a Async request run inside the backend?

Ans: The sequences of activities worried within the delivery of invoke messages is as follows:

The client posts the message to the transport carrier.

The shipping carrier saves the invocation message to the dlv_message desk. The preliminary kingdom of the message is zero (undelivered).

The shipping service schedules a dispatcher message to technique the invocation message asynchronously.

The dispatcher message is introduced to the dispatcher through the afterCompletion() call.

Therefore, the message isn't always delivered if the JTA transaction fails.

The dispatcher sends the JMS message to the queue. Places a totally quick JMS message in the in-reminiscence queue (jms/collaxa/BPELWorkerQueue) in OC4J JMS. The small JMS message triggers the Worker Bean inside the downstream step.

This message is then picked up by using a Worker Bean MDB, which requests the dispatcher for work to execute. If the number of Worker Bean MDBs presently processing sports for the domain is enough, the dispatcher module can also determine no longer to request every other MDB.

MDB fetches the invocation message from the dispatcher.

MDB passes the invocation message to Oracle BPEL Server, which updates the invocation message nation to at least one (added), creates the example, and executes the activities in the float till a breakpoint pastime is reached.




CFG