Force.com - Sample Interview Question (Senior Level)

You were asked to build an apex method with the following requirements:
- It should invoke an external web-service.
- The method should run asynchronously.

Which of the following answers can fit these requirements?
  1. @RemoteAction
    public static void invokeWS
  2. @future (callout=true)
    public static void invokeWS()
  3. @future
    public void invokeWS()
  4. @RemoteAction (callout=true)
    public static void invokeWS()
Tests in Force.com for Seniors

Test Name Difficulty Time (minutes) No. of Questions
Force.com Online Test for Seniors Force.com Senior 60 30

More Specific Tests in Force.com for Seniors

Test Name Difficulty Time (Minutes) No. of Questions
Force.com-Apex Online Test for Seniors Force.com - Apex Senior 20 10
Force.com-Database Online Test for Seniors Force.com - Database Senior 20 10
Force.com-Architecture Online Test for Seniors Force.com - Architecture Senior 20 10