

















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This exam guide prepares candidates to automate GIS workflows using Python with Esri tools. Coverage includes scripting patterns, data management, analysis automation, publishing, and integration with ArcGIS platforms.
Typology: Exams
1 / 89
This page cannot be seen from the preview
Don't miss anything!


















































































Question 1. Which authentication method allows a script to access ArcGIS Online without storing a username and password in the code? A) Username/Password B) OAuth2 with client secret C) API Key D) LDAP authentication Answer: C Explanation: An API Key provides token-based access without exposing user credentials, making it ideal for automated scripts. Question 2. In the gis module, which class is used to manage bulk operations on groups? A) UserManager B) GroupManager C) ContentManager D) RoleManager Answer: B Explanation: GroupManager provides methods for creating, updating, deleting, and searching groups in bulk. Question 3. Which property of an organization can be updated via the GIS.admin.org.update() method? A) Feature service URL B) Default basemap C) Security question D) Portal thumbnail Answer: D
Explanation: The portal thumbnail is an organization-level property that can be modified through the admin API. Question 4. What is the primary purpose of cloning a user in ArcGIS API for Python? A) To duplicate the user’s content into another organization B) To create a backup of the user’s password C) To synchronize licenses between organizations D) To transfer group memberships only Answer: A Explanation: Cloning a user copies the user’s items, groups, and settings to a target organization, facilitating migration. Question 5. Which method is used to delete an item permanently from a portal? A) item.delete() B) content.delete_item(item_id) C) gis.content.delete(item) D) item.remove() Answer: C Explanation: gis.content.delete(item) removes the specified item from the portal permanently. Question 6. When publishing a shapefile using the GIS module, which function should be called? A) gis.publish_shapefile() B) gis.content.add(item_properties) C) gis.content.publish(item, publish_parameters)
B) symbology.classify() C) layer.renderer = symbology.renderer() D) layer.make_renderer("ClassedColor") Answer: A Explanation: The apply_renderer method accepts a renderer object, such as a Classed Color renderer, and applies it to the layer. Question 10. Which attribute controls the opacity of a layer programmatically? A) layer.opacity B) layer.transparency C) layer.visibility D) layer.alpha Answer: A Explanation: The opacity property accepts a float between 0 (transparent) and 1 (opaque). Question 11. How can you programmatically hide a layer’s pop-up in a web map? A) layer.popupEnabled = False B) layer.popupInfo = None C) layer.showPopups = False D) layer.disable_popup() Answer: B Explanation: Setting popupInfo to None removes the pop-up configuration for that layer.
Question 12. Which Python library is recommended for creating non-spatial charts from ArcGIS data? A) matplotlib B) seaborn C) plotly D) All of the above Answer: D Explanation: Any of these libraries can be used alongside ArcGIS API for Python to visualize tabular data. Question 13. What class provides a pandas-like interface for spatial data frames? A) SpatialDataFrame B) GeoDataFrame C) SpatiallyEnabledDataFrame (SeDF) D) GeoAccessor Answer: C Explanation: The SeDF class enables pandas operations on spatial data with geometry handling. Question 14. Which method converts an address string to a point geometry? A) geocode(address) B) arcgis.geocoding.geocode() C) gis.geocode(address) D) geocoding.geocode(address) Answer: B
D) RasterService Answer: B Explanation: ImageLayer is used to interact with raster image services hosted on ArcGIS. Question 18. Which property of a FeatureLayer defines the fields that can be edited? A) editingEnabled B) editFields C) capabilities D) fieldsInfo Answer: C Explanation: The capabilities property includes “Editing” if the layer supports CRUD operations. Question 19. To perform a bulk update of feature attributes, which method is most efficient? A) layer.edit_features(updates=...) B) layer.update_features(updates=...) C) layer.apply_edits(updates=...) D) layer.bulk_update(updates=...) Answer: C Explanation: apply_edits sends a batch of adds/updates/deletes in a single request, reducing overhead. Question 20. Which function extracts the geometry of a feature as a Shapely object? A) feature.geometry.as_shapely()
B) feature.geometry.to_shapely() C) feature.geometry.shapely D) feature.geometry.as_shape() Answer: B Explanation: to_shapely() converts ArcGIS geometry to a Shapely geometry for advanced spatial operations. Question 21. In the GIS.admin module, which method lists all licensed users in an organization? A) gis.admin.license.list_users() B) gis.admin.users.list() C) gis.admin.license.users() D) gis.admin.license.users() Answer: D Explanation: gis.admin.license.users() returns a collection of users with assigned licenses. Question 22. Which role grants full administrative privileges across the portal? A) Publisher B) Viewer C) Administrator D) Data Editor Answer: C Explanation: The Administrator role provides complete control over portal settings, users, and content.
Explanation: thumbnail_url returns the absolute URL for the item's thumbnail image. Question 26. Which class is used to construct a spatially enabled DataFrame from a feature layer? A) arcgis.features.SpatialDataFrame B) arcgis.features.GeoDataFrame C) arcgis.features.SpatiallyEnabledDataFrame D) arcgis.features.FeatureSet Answer: C Explanation: SpatiallyEnabledDataFrame wraps a FeatureSet and provides pandas-like operations. Question 27. Which function calculates the shortest path between two points using the network analyst? A) network.solve_route() B) network.analysis.route() C) arcgis.network.get_route() D) network.get_route_directions() Answer: B Explanation: network.analysis.route() computes the optimal route based on the network dataset. Question 28. When adding a new field to a feature layer, which method should be called? A) layer.add_field() B) layer.manager.add_to_definition() C) layer.manager.add_field()
D) layer.update_schema() Answer: C Explanation: The manager’s add_field() method updates the layer’s schema with a new field definition. Question 29. Which property controls whether a feature layer allows attachments? A) hasAttachments B) enableAttachments C) attachmentEnabled D) supportsAttachments Answer: A Explanation: The hasAttachments boolean indicates if the layer can store attachment files. Question 30. In the context of the GIS module, what does the “home” keyword represent? A) The default portal URL for ArcGIS Online B) A local file system directory C) The user’s home folder on the portal D) The GIS instance’s default map view Answer: A Explanation: GIS("home") automatically connects to the ArcGIS Online organization associated with the logged-in user. **Question 31. Which method retrieves the list of groups a user belongs to? ** A) user.groups()
Question 34. Which of the following is NOT a valid raster analysis function in the raster module? A) calculate_histogram() B) hillshade() C) contour() D) spatial_join() Answer: D Explanation: spatial_join() is a vector operation; raster module does not provide it. Question 35. What does the “extent” property of a map object represent? A) The coordinate reference system B) The bounding box of the visible area C) The list of layers in the map D) The zoom level Answer: B Explanation: Extent defines the minimum and maximum X/Y coordinates currently displayed. Question 36. Which function is used to export a Web Map to a PDF file? A) map.export_to_pdf() B) map.print_pdf() C) map.export_to_image(format="pdf") D) map.print_map(output_type="pdf") Answer: D Explanation: The print_map method with output_type="pdf" generates a PDF representation of the map.
Question 37. In the geoenrichment module, which dataset provides lifestyle information? A) Demographics B) Lifestyle C) Business D) Travel Answer: B Explanation: The Lifestyle dataset contains data on consumer behavior, spending habits, etc. Question 38. Which method adds a new feature to a feature layer? A) layer.add_feature() B) layer.edit_features(adds=[...]) C) layer.insert([...]) D) layer.create_feature() Answer: B Explanation: edit_features with the adds parameter submits new features to the layer. Question 39. To retrieve the spatial reference of a feature layer, which attribute is used? A) layer.spatialReference B) layer.spatial_ref C) layer.properties.spatialReference D) layer.extent.spatialReference Answer: C Explanation: The properties object contains the spatialReference definition of the layer.
Explanation: The items() method on a User object returns all items owned by that user. Question 43. In the context of feature layer editing, what does the term “upserts” refer to? A) Updating only existing features B) Inserting new features only C) Updating existing features and inserting new ones in a single call D) Deleting and re-adding features Answer: C Explanation: Upserts combine updates and inserts, allowing both operations in one request. Question 44. Which property of a Group object determines whether the group is open for anyone to join? A) isInvitationOnly B) isOpenGroup C) access D) membership Answer: C Explanation: The access attribute can be “public”, “org”, or “private”, defining join permissions. Question 45. Which method is used to download the data of a hosted feature layer as a CSV file? A) layer.export_to_csv() B) layer.export_data(format="csv") C) layer.query(where="1=1", out_fields="*", return_as_csv=True)
D) layer.download_csv() Answer: C Explanation: Using query with return_as_csv=True returns the result as a CSV string. Question 46. To change the ownership of an item, which method should be called? A) item.reassign_owner(new_owner) B) gis.content.move(item, owner=new_owner) C) item.update_owner(new_owner) D) gis.content.update(item, owner=new_owner) Answer: B Explanation: The move method can transfer an item to a different owner within the same organization. Question 47. Which of the following is a valid way to create a new folder in a user’s content? A) gis.content.create_folder("MyFolder") B) gis.create_folder("MyFolder") C) gis.content.add_folder("MyFolder") D) gis.content.create_folder(name="MyFolder") Answer: A Explanation: The create_folder method on the ContentManager creates a folder with the given name. Question 48. In the analysis module, which function performs a spatial join between two feature layers? A) analysis.spatial_join()
A) gis.admin.credits.get_balance() B) gis.admin.credits.balance() C) gis.admin.credits.get() D) gis.admin.credits.info() Answer: A Explanation: get_balance() returns the remaining credit count for the organization. Question 52. Which class is used to work with 3D scene layers? A) SceneLayer B) SceneLayer3D C) ArcGIS3DLayer D) SceneLayerManager Answer: A Explanation: SceneLayer represents 3D tiled layers suitable for rendering in a Scene view. Question 53. To programmatically set a map’s basemap to “Topographic”, which property is used? A) map.basemap = "topo" B) map.set_basemap("topographic") C) map.basemap = "topographic" D) map.change_basemap("Topographic") Answer: C Explanation: The basemap property accepts a string identifier; “topographic” selects the Topographic basemap.
Question 54. Which method retrieves the service definition (SD) of a hosted feature service? A) layer.get_definition() B) layer.export_service_definition() C) layer.item.download() D) layer.item.get_data() Answer: B Explanation: export_service_definition() returns the .sd file containing the service’s configuration. Question 55. In the context of the GIS admin API, what does the term “credits” refer to? A) User authentication tokens B) Compute resources for analysis services C) Storage quota for items D) Number of simultaneous users allowed Answer: B Explanation: Credits are a consumption-based metric used for premium services such as spatial analysis. Question 56. Which method is used to add a new member to an existing group? A) group.add_user(user) B) group.add_member(user) C) group.invite_user(user) D) group.update_members(add=user) Answer: A