[&] What is the primary purpose of a web service? - To facilitate machine-to-machine communication - To offer a user interface for data interaction - To provide access to application functionality for developers - To replace traditional database queries [&] How do web services typically handle security and communication standards? - Using OpenAPI exclusively for API documentation - Through direct hardware firewalls only - Via WS Security and WS Policy for SOAP-based services - Through proprietary encryption protocols [&] In terms of data formats, what is a key difference between web services and APIs? - Web services use only XML, while APIs use only JSON - Web services support multiple formats like XML and JSON - APIs are restricted to JSON and HTML formats - Both web services and APIs exclusively use binary formats [&] What distinguishes web services from APIs in terms of their interaction model? - APIs are confined to desktop applications - Web services always include human interfaces - Web services focus on machine-only communication - APIs require direct system integration [&] Which of the following best describes an API? - A language for defining web service standards - A user interface for monitoring web server activity - A set of rules allowing access to application functionality - A protocol for exchanging files between servers [&] Why might a developer choose to use an API over a web service? - To reduce the complexity of SOAP protocol messages - To expose application functionality for integration into other applications - To standardize XML data formats for communication - To enable machine-to-machine communication without human interaction