Bird
Raised Fist0
Intro to Computingfundamentals~10 mins

Popular cloud providers (AWS, Azure, GCP) in Intro to Computing - Interactive Code Practice

Choose your learning style10 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to print the name of the cloud provider that starts with 'A'.

Intro to Computing
cloud_provider = '[1]'
print(cloud_provider)
Drag options to blanks, or click blank then click option'
AAzure
BGCP
CAWS
DIBM Cloud
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing AWS instead of Azure
Choosing GCP which starts with 'G'
2fill in blank
medium

Complete the code to assign the abbreviation for Google Cloud Platform.

Intro to Computing
cloud_abbr = '[1]'
print(cloud_abbr)
Drag options to blanks, or click blank then click option'
AAZR
BAWS
CGCP
DGC
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'GC' which is incomplete
Using 'AZR' which is for Azure
3fill in blank
hard

Fix the error in the code to correctly print the cloud provider name stored in the variable.

Intro to Computing
provider = 'AWS'
print([1])
Drag options to blanks, or click blank then click option'
Aprovider
Bcloud_provider
C'provider'
DProvider
Attempts:
3 left
💡 Hint
Common Mistakes
Using quotes around the variable name
Using a different variable name
4fill in blank
hard

Fill both blanks to create a list of popular cloud providers and print the second one.

Intro to Computing
clouds = [[1], [2]]
print(clouds[1])
Drag options to blanks, or click blank then click option'
A'AWS'
B'Azure'
C'GCP'
D'DigitalOcean'
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect quotes or missing commas
Choosing the wrong providers
5fill in blank
hard

Fill all three blanks to create a dictionary mapping cloud providers to their abbreviations and print the abbreviation for Azure.

Intro to Computing
cloud_dict = [1]: [2], [3]: 'GCP'}
print(cloud_dict['Azure'])
Drag options to blanks, or click blank then click option'
A'AWS'
B'Azure'
Attempts:
3 left
💡 Hint
Common Mistakes
Not using quotes around keys or values
Mixing keys and values

Practice

(1/5)
1. Which of the following is NOT one of the top three popular cloud providers?
easy
A. GCP
B. AWS
C. DigitalOcean
D. Azure

Solution

  1. Step 1: Recall the top cloud providers

    The top three popular cloud providers are AWS, Azure, and GCP.
  2. Step 2: Identify the option not in the top three

    DigitalOcean is a cloud provider but not among the top three popular ones.
  3. Final Answer:

    DigitalOcean -> Option C
  4. Quick Check:

    Top providers = AWS, Azure, GCP [OK]
Hint: Remember AWS, Azure, GCP are top three [OK]
Common Mistakes:
  • Confusing smaller providers as top three
  • Mixing up cloud providers with hosting services
2. Which of the following is the correct way to refer to Amazon Web Services in short?
easy
A. AWS
B. AMZ
C. AWZ
D. AWE

Solution

  1. Step 1: Understand the abbreviation for Amazon Web Services

    The correct abbreviation is AWS, standing for Amazon Web Services.
  2. Step 2: Check the options for the correct abbreviation

    Only AWS matches the correct abbreviation AWS.
  3. Final Answer:

    AWS -> Option A
  4. Quick Check:

    Amazon Web Services = AWS [OK]
Hint: AWS is the official short form for Amazon Web Services [OK]
Common Mistakes:
  • Using incorrect abbreviations like AWZ or AMZ
  • Confusing AWS with Amazon's marketplace
3. You want to store files in the cloud and access them from anywhere. Which service corresponds to this in AWS, Azure, and GCP respectively?
medium
A. EC2, Virtual Machines, Compute Engine
B. S3, Blob Storage, Cloud Storage
C. Lambda, Functions, Cloud Functions
D. RDS, SQL Database, Cloud SQL

Solution

  1. Step 1: Identify storage services in each cloud provider

    AWS uses S3, Azure uses Blob Storage, and GCP uses Cloud Storage for file storage.
  2. Step 2: Match the options with storage services

    S3, Blob Storage, Cloud Storage correctly lists the storage services for AWS, Azure, and GCP respectively.
  3. Final Answer:

    S3, Blob Storage, Cloud Storage -> Option B
  4. Quick Check:

    Storage services = S3, Blob Storage, Cloud Storage [OK]
Hint: Storage services: S3 (AWS), Blob (Azure), Cloud Storage (GCP) [OK]
Common Mistakes:
  • Confusing compute services with storage
  • Mixing up function services with storage
4. A developer tries to launch a virtual machine on Azure but uses the AWS command aws ec2 run-instances. What is the main issue?
medium
A. The command should be run in GCP console
B. The command syntax is incorrect for AWS
C. Azure does not support virtual machines
D. The command is for AWS, not Azure

Solution

  1. Step 1: Understand the command context

    The command aws ec2 run-instances is specific to AWS for launching virtual machines.
  2. Step 2: Identify the mismatch with Azure

    Azure uses different commands and tools; AWS commands won't work on Azure.
  3. Final Answer:

    The command is for AWS, not Azure -> Option D
  4. Quick Check:

    Command context must match cloud provider [OK]
Hint: Use provider-specific commands for each cloud [OK]
Common Mistakes:
  • Assuming AWS commands work on Azure
  • Thinking Azure lacks virtual machine support
5. You want to design a multi-cloud app that uses AWS for computing, Azure for database, and GCP for machine learning. Which approach best supports this?
hard
A. Use each cloud's native services and connect via APIs
B. Deploy the entire app only on AWS to avoid complexity
C. Use only one cloud provider to reduce costs
D. Manually copy data between clouds without automation

Solution

  1. Step 1: Understand multi-cloud design

    Multi-cloud means using different providers' services together for best features.
  2. Step 2: Identify best practice for integration

    Using native services and connecting them via APIs allows smooth communication and scalability.
  3. Step 3: Evaluate other options

    Deploying only on one cloud or manual data copying reduces benefits or adds errors.
  4. Final Answer:

    Use each cloud's native services and connect via APIs -> Option A
  5. Quick Check:

    Multi-cloud = native services + API integration [OK]
Hint: Connect cloud services via APIs for multi-cloud apps [OK]
Common Mistakes:
  • Trying to avoid multi-cloud complexity by using one provider
  • Ignoring automation in data transfer
  • Assuming manual copying is efficient
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard