Auto Scaling is a management service that can automatically adjust elastic computing resources based on your business needs and policies. To ensure ECS instances created by Auto Scaling can correctly respond to user requests without additional configuration, applications deployed on these ECS instances must be _______________.
Answer : A
Applications deployed on ECS instances that are managed by Auto Scaling should be stateless and horizontally scalable. Stateless applications do not store session data or any critical information on a single instance, allowing them to be replicated or terminated without affecting the application's overall functionality. Horizontal scalability ensures that more instances can handle additional traffic as demand increases. This setup allows Auto Scaling to add or remove instances seamlessly without requiring reconfiguration.
An Alibaba Cloud RDS read-only instance has its data synchronized from the master instance. Which of the following can be performed by the read-only instance from the RDS management console?
Answer : C
In Alibaba Cloud RDS, read-only instances are synchronized from the master instance but do not allow actions such as creating or deleting databases, configuring backup policies, or changing account authorizations. However, you can configure the read-only instance's whitelist to control access.
When the "'Obtain the Visitor's Real IP Address" function is enabled in Alibaba Cloud SLB For layer 7 services, you can obtain the real IP addresses of visitors through the______________field in HTTP header
Answer : D
The X-Forwarded-For field in HTTP header is used to identify the originating IP address of a client connecting to a web server through an HTTP proxy or a load balancer. When the ''Obtain the Visitor's Real IP Address'' function is enabled in Alibaba Cloud SLB, the SLB instance adds the X-Forwarded-For field to the HTTP header of each request and forwards the request to the backend server. The backend server can then obtain the real IP address of the visitor from the X-Forwarded-For field1. The format of the X-Forwarded-For field is as follows:
X-Forwarded-For: client, proxy1, proxy2
where the value is a comma+space separated list of IP addresses, the left-most being the original client, and each successive proxy that passed the request adding the IP address where it received the request from. In this example, the request passed through proxy1, proxy2, and then the SLB instance (proxy3).2
When using the Open API in ECS, you have to send out HTTP GET requests and append corresponding request parameters according to the API description.
Answer : B
Alibaba Cloud ECS Open API supports both HTTP GET and POST requests. While GET requests are common, POST requests are often used for secure data transfer and handling complex request parameters. Therefore, you are not limited to using only GET requests when interacting with the ECS API.
During a scaling activity, when Auto Scaling fails to add ECS instances into a scaling group, it will try to ensure transaction completeness and roll back the scaling activity.
For example, a scaling activity intends to create and add 20 ECS instances into the scaling group, but only 19 of them are added successfully. In this case, the entire scaling activity will be rolled back, and the 19 instances will be removed and released as well.
Answer : A
Alibaba Cloud Auto Scaling ensures transaction completeness during scaling activities. If the intended number of ECS instances cannot be added to the scaling group, Auto Scaling rolls back the entire activity, releasing any partially added instances. This behavior prevents incomplete scaling activities, ensuring the scaling action either fully succeeds or is reverted entirely.
Compared with traditional physical servers, upgrading an ECS instance is much easier. Which of the following statements about upgrading an ECS instance is false?
Answer : D
Changing an instance's operating system requires creating a custom image or using a public image, and then replacing the system disk of the instance. This process will cause the instance to restart. Therefore, this statement is false. Reference: ECS User Guide: Replace the system disk (non-public image) and ECS User Guide: Replace the system disk (public image)
A startup team developed an app named ''Public Image Service,'' which provides image management services for e-commerce websites. The app includes a self-developed API for file uploads, queries, and deletions, and aims to manage a large number of small images with fast global access. Currently, 500 GB of images and files are uploaded daily. The team is ready to migrate all applications to Alibaba Cloud. They should at least choose Alibaba Cloud ___________________ service. (Choose three.)
Answer : A, B, C
For a service focused on storing and providing fast access to a massive amount of images, the team should use:
Object Storage Service (OSS): For scalable and cost-effective storage of large image datasets.
Elastic Compute Service (ECS): For running the application's backend and API logic.
Content Delivery Network (CDN): To cache and accelerate image delivery globally, improving access speed for users worldwide.
While Auto Scaling is useful for applications with highly variable compute demands, it is not essential for this setup based on the described requirements.