nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #56

You are building an API that will be used by Android and iOS apps. The API must: - Support HTTPs - Minimize bandwidth cost - Integrate easily with mobile apps Which API architecture should you use?

The correct answer is C. gRPC-based APIs. gRPC architectural style has promising features that can (and should) be explored. It is an excellent option for working with multi-language systems, real-time streaming, and for instance, when operating an IoT system that requires light-weight message transmission such as the…

Designing and optimizing APIs for mobile and cloud-native applications

Question

You are building an API that will be used by Android and iOS apps. The API must:

  • Support HTTPs
  • Minimize bandwidth cost
  • Integrate easily with mobile apps

Which API architecture should you use?

Options

  • ARESTful APIs
  • BMQTT for APIs
  • CgRPC-based APIs
  • DSOAP-based APIs

How the community answered

(52 responses)
  • A
    4% (2)
  • B
    6% (3)
  • C
    79% (41)
  • D
    12% (6)

Explanation

gRPC architectural style has promising features that can (and should) be explored. It is an excellent option for working with multi-language systems, real-time streaming, and for instance, when operating an IoT system that requires light-weight message transmission such as the serialized Protobuf messages allow. Moreover, gRPC should also be considered for mobile applications since they do not need a browser and can benefit from smaller messages, preserving mobiles' processors' speed.

Topics

#API Design#gRPC#Mobile Development#Bandwidth Optimization

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER Practice